package com.sg.service.biz.bff.impl;

import cn.hutool.core.bean.BeanUtil;
import cn.hutool.core.collection.CollectionUtil;
import com.sg.common.exception.Assert;
import com.sg.common.util.CommonFunctionHelper;
import com.sg.common.util.RedisUtil;
import com.sg.dto.biz.app.req.AddAchievementTypeBusinessHandleReqDto;
import com.sg.dto.biz.app.req.QueryAchievementCategoryListComReqDto;
import com.sg.dto.biz.app.res.AddAchievementCategoryBusinessHandleComRespDto;
import com.sg.dto.biz.app.res.AddAchievementTypeBusinessHandleRespDto;
import com.sg.dto.biz.app.res.QueryAchievementCategoryListComRespDto;
import com.sg.dto.biz.bff.req.*;
import com.sg.dto.biz.bff.res.*;
import com.sg.service.biz.bff.AchievementService;
import com.wicket.okrapp.integration.dto.*;
import com.wicket.okrcomponent.integration.dto.*;
import com.wicket.okrframework.integration.dto.*;
import org.apache.skywalking.apm.toolkit.trace.Tag;
import org.apache.skywalking.apm.toolkit.trace.Tags;
import org.apache.skywalking.apm.toolkit.trace.Trace;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.stream.Collectors;

/**
 * @author ：
 * @version 1.0
 * @date ：
 */
@Service
public class AchievementServiceImpl implements AchievementService {

    @Resource
    private RedisUtil redisUtil;
    @Resource
    com.sg.service.biz.app.AchievementService fwAppAchievementClient;
    @Resource
    com.sg.service.biz.framework.InductionRecordService fwBaseInductionRecordClient;
    @Resource
    com.sg.service.biz.app.AchievementDockService fwAppAchievementDockClient;

    @Resource
    com.sg.service.biz.component.UnstructuredDataService fwCompUnstructuredDataClient;
    @Resource
    com.sg.service.biz.framework.OrgService fwBaseOrgClient;
    @Resource
    com.sg.service.biz.component.InterfaceModeService fwCompInterfaceModeClient;

    /**
     * B3查询成果类别列表(管理)[9178]
     * gen by moon at 4/3/2024, 2:27:06 PM
     */
    @Trace(operationName = "B3查询成果类别列表(管理)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Override
    public BffQueryAchievementCategoryListRespDto queryAchievementCategoryList(BffQueryAchievementCategoryListReqDto reqDto) {


        QueryAchievementCategoryListComRespDto queryAchievementCategoryListComRespDto_1 = null;
        //步骤0: D3查询成果类别列表(公共) - queryAchievementCategoryListCom
        QueryAchievementCategoryListComRespDto queryAchievementCategoryListComRespDto = null;
        QueryAchievementCategoryListComReqDto queryAchievementCategoryListComReqDto = new QueryAchievementCategoryListComReqDto();
        queryAchievementCategoryListComReqDto.setSpaceId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecSpaceId());//CURRENT_SPACEID//sourceId:1693124_1
        if (reqDto != null) {
            queryAchievementCategoryListComReqDto.setAchievementTypeId(reqDto.getAchievementTypeId());//SimpleFieldAssign//sourceId:1693120_1
            queryAchievementCategoryListComReqDto.setIsArchive(reqDto.getIsArchive());//SimpleFieldAssign//sourceId:1693122_1
        }

        /*D3查询成果类别列表(公共)[9175]   */
        Assert.isNull(queryAchievementCategoryListComReqDto.getAchievementTypeId(), "B3查询成果类别列表(管理)-D3查询成果类别列表(公共)-关联成果类型ID不能为空", false);
        Assert.isNull(queryAchievementCategoryListComReqDto.getSpaceId(), "B3查询成果类别列表(管理)-D3查询成果类别列表(公共)-创建于空间ID不能为空", false);
        queryAchievementCategoryListComRespDto = fwAppAchievementClient.queryAchievementCategoryListCom(queryAchievementCategoryListComReqDto)/*vcase invoke 跨dubbo调用;*/;


        queryAchievementCategoryListComRespDto_1 = queryAchievementCategoryListComRespDto;

        BffQueryAchievementCategoryListRespDto retData = new BffQueryAchievementCategoryListRespDto();
        if (queryAchievementCategoryListComRespDto_1 != null) {
            retData.setAchievementCategoryList(queryAchievementCategoryListComRespDto_1.getAchievementCategoryList().stream().map(item -> BeanUtil.toBean(item, BffAchievementCategoryDto.class)).collect(Collectors.toList()));//objList-to-objLists//sourceId:1693144_1
        }


        return retData;
    }

    /**
     * B3新增成果类型(管理)[9152]
     * gen by moon at 5/9/2024, 2:57:33 PM
     */
    @Trace(operationName = "B3新增成果类型(管理)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Override
    public BffAddAchievementTypeRespDto addAchievementType(BffAddAchievementTypeReqDto reqDto) {


        AddAchievementTypeBusinessHandleRespDto addAchievementTypeBusinessHandleRespDto_1 = null;
//步骤0: D3新增成果类型业务处理 - addAchievementTypeBusinessHandle
        AddAchievementTypeBusinessHandleRespDto addAchievementTypeBusinessHandleRespDto = null;
        AddAchievementTypeBusinessHandleReqDto addAchievementTypeBusinessHandleReqDto = new AddAchievementTypeBusinessHandleReqDto();
        if (reqDto != null) {
            addAchievementTypeBusinessHandleReqDto.setAchievementTypeNumber(reqDto.getAchievementTypeNumber());//SimpleFieldAssign//sourceId:1692701_1
            addAchievementTypeBusinessHandleReqDto.setAchievementTypeName(reqDto.getAchievementTypeName());//SimpleFieldAssign//sourceId:1692702_1
            addAchievementTypeBusinessHandleReqDto.setBelongName(reqDto.getBelongName());//SimpleFieldAssign//sourceId:1692703_1
            addAchievementTypeBusinessHandleReqDto.setAchievementDesc(reqDto.getAchievementDesc());//SimpleFieldAssign//sourceId:1692704_1
            addAchievementTypeBusinessHandleReqDto.setIsStandard(reqDto.getIsStandard());//SimpleFieldAssign//sourceId:1692705_1
            addAchievementTypeBusinessHandleReqDto.setUnit(reqDto.getUnit());//SimpleFieldAssign//sourceId:1785621_1
            addAchievementTypeBusinessHandleReqDto.setSubjectLifeCycle(reqDto.getSubjectLifeCycle());//SimpleFieldAssign//sourceId:1692706_1
        }

        /*D3新增成果类型业务处理[9149]   */
        Assert.isNull(addAchievementTypeBusinessHandleReqDto.getAchievementTypeNumber(), "B3新增成果类型(管理)-D3新增成果类型业务处理-成果类型编号不能为空", false);
        Assert.isNull(addAchievementTypeBusinessHandleReqDto.getAchievementTypeName(), "B3新增成果类型(管理)-D3新增成果类型业务处理-成果类型名称不能为空", false);
        Assert.isNull(addAchievementTypeBusinessHandleReqDto.getBelongName(), "B3新增成果类型(管理)-D3新增成果类型业务处理-版权归属别名不能为空", false);
        Assert.isNull(addAchievementTypeBusinessHandleReqDto.getIsStandard(), "B3新增成果类型(管理)-D3新增成果类型业务处理-是否标准成果类型不能为空", false);
        Assert.isNull(addAchievementTypeBusinessHandleReqDto.getUnit(), "B3新增成果类型(管理)-D3新增成果类型业务处理-成果单位不能为空", false);
        Assert.isNull(addAchievementTypeBusinessHandleReqDto.getSubjectLifeCycle(), "B3新增成果类型(管理)-D3新增成果类型业务处理-主体生命周期不能为空", false);
        addAchievementTypeBusinessHandleRespDto = fwAppAchievementClient.addAchievementTypeBusinessHandle(addAchievementTypeBusinessHandleReqDto)/*vcase invoke 跨dubbo调用;*/;


        addAchievementTypeBusinessHandleRespDto_1 = addAchievementTypeBusinessHandleRespDto;

        BffAddAchievementTypeRespDto retData = new BffAddAchievementTypeRespDto();
        if (addAchievementTypeBusinessHandleRespDto_1 != null) {
            retData.setAchievementTypeId(addAchievementTypeBusinessHandleRespDto_1.getAchievementTypeId());//SimpleFieldAssign//sourceId:1692715_1
        }


        return retData;
    }

    /**
     * B3新增成果类别(管理)[9158]
     * gen by moon at 4/3/2024, 2:26:48 PM
     */
    @Trace(operationName = "B3新增成果类别(管理)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Override
    public BffAddAchievementCategoryRespDto addAchievementCategory(BffAddAchievementCategoryReqDto reqDto) {


        AddAchievementCategoryBusinessHandleComRespDto addAchievementCategoryBusinessHandleComRespDto_1 = null;
//步骤0: D3新增成果类别业务处理(公共) - addAchievementCategoryBusinessHandleCom
        AddAchievementCategoryBusinessHandleComRespDto addAchievementCategoryBusinessHandleComRespDto = null;
        AddAchievementCategoryBusinessHandleComReqDto addAchievementCategoryBusinessHandleComReqDto = new AddAchievementCategoryBusinessHandleComReqDto();
        addAchievementCategoryBusinessHandleComReqDto.setSpaceId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecSpaceId());//CURRENT_SPACEID//sourceId:1692860_1
        if (reqDto != null) {
            addAchievementCategoryBusinessHandleComReqDto.setAchievementTypeId(reqDto.getAchievementTypeId());//SimpleFieldAssign//sourceId:1692855_1
            addAchievementCategoryBusinessHandleComReqDto.setAchievementCategoryNumber(reqDto.getAchievementCategoryNumber());//SimpleFieldAssign//sourceId:1692856_1
            addAchievementCategoryBusinessHandleComReqDto.setAchievementCategoryName(reqDto.getAchievementCategoryName());//SimpleFieldAssign//sourceId:1692857_1
            addAchievementCategoryBusinessHandleComReqDto.setAchievementCategoryDesc(reqDto.getAchievementCategoryDesc());//SimpleFieldAssign//sourceId:1692858_1
            addAchievementCategoryBusinessHandleComReqDto.setSubjectLifeCycle(reqDto.getSubjectLifeCycle());//SimpleFieldAssign//sourceId:1692859_1
        }

        /*D3新增成果类别业务处理(公共)[9151]   */
        Assert.isNull(addAchievementCategoryBusinessHandleComReqDto.getAchievementTypeId(), "B3新增成果类别(管理)-D3新增成果类别业务处理(公共)-关联成果类型ID不能为空", false);
        Assert.isNull(addAchievementCategoryBusinessHandleComReqDto.getAchievementCategoryNumber(), "B3新增成果类别(管理)-D3新增成果类别业务处理(公共)-成果类别编号不能为空", false);
        Assert.isNull(addAchievementCategoryBusinessHandleComReqDto.getAchievementCategoryName(), "B3新增成果类别(管理)-D3新增成果类别业务处理(公共)-成果类别名称不能为空", false);
        Assert.isNull(addAchievementCategoryBusinessHandleComReqDto.getSubjectLifeCycle(), "B3新增成果类别(管理)-D3新增成果类别业务处理(公共)-主体生命周期不能为空", false);
        Assert.isNull(addAchievementCategoryBusinessHandleComReqDto.getSpaceId(), "B3新增成果类别(管理)-D3新增成果类别业务处理(公共)-创建于空间ID不能为空", false);
        addAchievementCategoryBusinessHandleComRespDto = fwAppAchievementClient.addAchievementCategoryBusinessHandleCom(addAchievementCategoryBusinessHandleComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


        addAchievementCategoryBusinessHandleComRespDto_1 = addAchievementCategoryBusinessHandleComRespDto;

        BffAddAchievementCategoryRespDto retData = new BffAddAchievementCategoryRespDto();
        if (addAchievementCategoryBusinessHandleComRespDto_1 != null) {
            retData.setAchievementCategoryId(addAchievementCategoryBusinessHandleComRespDto_1.getAchievementCategoryId());//SimpleFieldAssign//sourceId:1692867_1
        }


        return retData;
    }

    /**
     * B3新增成果等级(管理)[9162]
     * gen by moon at 5/9/2024, 2:57:34 PM
     */
    @Trace(operationName = "B3新增成果等级(管理)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Override
    public BffAddAchievementGradeRespDto addAchievementGrade(BffAddAchievementGradeReqDto reqDto) {


        AddAchievementGradeBusinessHandleRespDto addAchievementGradeBusinessHandleRespDto_1 = null;
//步骤0: D3新增成果等级业务处理 - addAchievementGradeBusinessHandle
        AddAchievementGradeBusinessHandleRespDto addAchievementGradeBusinessHandleRespDto = null;
        AddAchievementGradeBusinessHandleReqDto addAchievementGradeBusinessHandleReqDto = new AddAchievementGradeBusinessHandleReqDto();
        if (reqDto != null) {
            addAchievementGradeBusinessHandleReqDto.setAchievementGradeNumber(reqDto.getAchievementGradeNumber());//SimpleFieldAssign//sourceId:1692926_1
            addAchievementGradeBusinessHandleReqDto.setAchievementGradeName(reqDto.getAchievementGradeName());//SimpleFieldAssign//sourceId:1692927_1
            addAchievementGradeBusinessHandleReqDto.setAchievementGradeDesc(reqDto.getAchievementGradeDesc());//SimpleFieldAssign//sourceId:1692928_1
            addAchievementGradeBusinessHandleReqDto.setAchievementGradeModel(reqDto.getAchievementGradeModel());//SimpleFieldAssign//sourceId:1785680_1
            addAchievementGradeBusinessHandleReqDto.setSubjectLifeCycle(reqDto.getSubjectLifeCycle());//SimpleFieldAssign//sourceId:1692929_1
        }

        /*D3新增成果等级业务处理[9157]   */
        Assert.isNull(addAchievementGradeBusinessHandleReqDto.getAchievementGradeNumber(), "B3新增成果等级(管理)-D3新增成果等级业务处理-成果等级编号不能为空", false);
        Assert.isNull(addAchievementGradeBusinessHandleReqDto.getAchievementGradeName(), "B3新增成果等级(管理)-D3新增成果等级业务处理-成果等级名称不能为空", false);
        Assert.isNull(addAchievementGradeBusinessHandleReqDto.getSubjectLifeCycle(), "B3新增成果等级(管理)-D3新增成果等级业务处理-主体生命周期不能为空", false);
        addAchievementGradeBusinessHandleRespDto = fwAppAchievementClient.addAchievementGradeBusinessHandle(addAchievementGradeBusinessHandleReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


        addAchievementGradeBusinessHandleRespDto_1 = addAchievementGradeBusinessHandleRespDto;

        BffAddAchievementGradeRespDto retData = new BffAddAchievementGradeRespDto();
        if (addAchievementGradeBusinessHandleRespDto_1 != null) {
            retData.setAchievementGradeId(addAchievementGradeBusinessHandleRespDto_1.getAchievementGradeId());//SimpleFieldAssign//sourceId:1692937_1
        }


        return retData;
    }

    /**
     * B3查询成果类型列表(管理)[9169]
     * gen by moon at 4/3/2024, 7:05:24 PM
     */
    @Trace(operationName = "B3查询成果类型列表(管理)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Override
    public BffQueryAchievementTypeListRespDto queryAchievementTypeList(BffQueryAchievementTypeListReqDto reqDto) {


        QueryAchievementTypeListComRespDto queryAchievementTypeListComRespDto_1 = null;
        BatchQueryInductionRecordListComRespDto batchQueryInductionRecordListComRespDto_1 = null;
//步骤0: D3查询成果类型列表(公共) - queryAchievementTypeListCom
        QueryAchievementTypeListComRespDto queryAchievementTypeListComRespDto = null;
        QueryAchievementTypeListComReqDto queryAchievementTypeListComReqDto = new QueryAchievementTypeListComReqDto();
        queryAchievementTypeListComReqDto.setSpaceId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecSpaceId());//CURRENT_SPACEID//sourceId:1693024_1
        if (reqDto != null) {
            queryAchievementTypeListComReqDto.setIsArchive(reqDto.getIsArchive());//SimpleFieldAssign//sourceId:1693065_1
        }

        /*D3查询成果类型列表(公共)[9163]   */
        Assert.isNull(queryAchievementTypeListComReqDto.getIsArchive(), "B3查询成果类型列表(管理)-D3查询成果类型列表(公共)-是否存档不能为空", false);
        Assert.isNull(queryAchievementTypeListComReqDto.getSpaceId(), "B3查询成果类型列表(管理)-D3查询成果类型列表(公共)-创建于空间ID不能为空", false);
        queryAchievementTypeListComRespDto = fwAppAchievementClient.queryAchievementTypeListCom(queryAchievementTypeListComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


        queryAchievementTypeListComRespDto_1 = queryAchievementTypeListComRespDto;

//步骤1: D1-3批量查询就职记录列表（公共） - batchQueryInductionRecordListCom
        BatchQueryInductionRecordListComRespDto batchQueryInductionRecordListComRespDto = null;
        if (queryAchievementTypeListComRespDto != null) {
            BatchQueryInductionRecordListComReqDto batchQueryInductionRecordListComReqDto = new BatchQueryInductionRecordListComReqDto();
            if (queryAchievementTypeListComRespDto != null && queryAchievementTypeListComRespDto.getAchievementTypeList() != null && !CollectionUtil.isEmpty(queryAchievementTypeListComRespDto.getAchievementTypeList())) {
                batchQueryInductionRecordListComReqDto.setPerOrgInductionRecordList(queryAchievementTypeListComRespDto.getAchievementTypeList().stream().map(item -> item.getOperationInductionId())
                        .collect(Collectors.toList()));/*list-to-strings*///sourceId:1693095_1
            }

            /*D1-3批量查询就职记录列表（公共）[602]   */

            batchQueryInductionRecordListComRespDto = fwBaseInductionRecordClient.batchQueryInductionRecordListCom(batchQueryInductionRecordListComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


            batchQueryInductionRecordListComRespDto_1 = batchQueryInductionRecordListComRespDto;
        }

        BffQueryAchievementTypeListRespDto retData = new BffQueryAchievementTypeListRespDto();
        //数据集融合  MoreListToOneSource
        if (queryAchievementTypeListComRespDto_1 != null && !CollectionUtil.isEmpty(queryAchievementTypeListComRespDto_1.getAchievementTypeList())) {
            for (AchievementTypeDto achievementTypeDto : queryAchievementTypeListComRespDto_1.getAchievementTypeList()) {
                BffAchievementTypeDto retElm = new BffAchievementTypeDto();
                if (queryAchievementTypeListComRespDto_1 != null) {
                    retElm.setAchievementTypeId(achievementTypeDto.getAchievementTypeId());//SimpleFieldAssign//sourceId:333003_2
                    retElm.setAchievementTypeNumber(achievementTypeDto.getAchievementTypeNumber());//SimpleFieldAssign//sourceId:333004_2
                    retElm.setAchievementTypeName(achievementTypeDto.getAchievementTypeName());//SimpleFieldAssign//sourceId:333005_2
                    retElm.setIsStandard(achievementTypeDto.getIsStandard());//SimpleFieldAssign//sourceId:333007_2
                    retElm.setBelongName(achievementTypeDto.getBelongName());//SimpleFieldAssign//sourceId:333008_2
                    retElm.setSubjectLifeCycle(achievementTypeDto.getSubjectLifeCycle());//SimpleFieldAssign//sourceId:333009_2
                    retElm.setOperationInductionId(achievementTypeDto.getOperationInductionId());//SimpleFieldAssign//sourceId:333010_2
                    retElm.setOperateTime(achievementTypeDto.getOperateTime());//SimpleFieldAssign//sourceId:333011_2
                }
                retData.getAchievementTypeList().add(retElm);
                if (batchQueryInductionRecordListComRespDto_1 != null) {
                    for (PerOrgInductionRecordDto perOrgInductionRecordDto : batchQueryInductionRecordListComRespDto_1.getPerOrgInductionRecordList()) {
                        if (perOrgInductionRecordDto.getInductionRecordId().equals(achievementTypeDto.getOperationInductionId())) {
                            if (batchQueryInductionRecordListComRespDto_1 != null) {
                                retElm.setNickName(perOrgInductionRecordDto.getNickName());//SimpleFieldAssign//sourceId:333079_2
                                retElm.setIdCardName(perOrgInductionRecordDto.getIdCardName());//SimpleFieldAssign//sourceId:333078_2
                                retElm.setUserFace(perOrgInductionRecordDto.getUserFace());//SimpleFieldAssign//sourceId:333080_2
                            }
                        }
                    }
                }

            }
        }//sourceId:1693042_1


        return retData;
    }

    /**
     * B3查询成果类型等级关系列表(管理)[9170]
     * gen by moon at 4/3/2024, 2:26:57 PM
     */
    @Trace(operationName = "B3查询成果类型等级关系列表(管理)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Override
    public BffQueryAchievementTypeGradeRelationshipListRespDto queryAchievementTypeGradeRelationshipList(BffQueryAchievementTypeGradeRelationshipListReqDto reqDto) {


        QueryAchievementTypeGradeRelationshipListRespDto queryAchievementTypeGradeRelationshipListRespDto_1 = null;
//步骤0: D3查询成果类型等级关系列表 - queryAchievementTypeGradeRelationshipList
        QueryAchievementTypeGradeRelationshipListRespDto queryAchievementTypeGradeRelationshipListRespDto = null;
        QueryAchievementTypeGradeRelationshipListReqDto queryAchievementTypeGradeRelationshipListReqDto = new QueryAchievementTypeGradeRelationshipListReqDto();
        queryAchievementTypeGradeRelationshipListReqDto.setIsArchive("FALSE");//sourceId:1693046_1
        if (reqDto != null) {
            queryAchievementTypeGradeRelationshipListReqDto.setAchievementTypeId(reqDto.getAchievementTypeId());//SimpleFieldAssign//sourceId:1693045_1
        }

        /*D3查询成果类型等级关系列表[9165]   */
        Assert.isNull(queryAchievementTypeGradeRelationshipListReqDto.getAchievementTypeId(), "B3查询成果类型等级关系列表(管理)-D3查询成果类型等级关系列表-成果类型ID不能为空", false);
        Assert.isNull(queryAchievementTypeGradeRelationshipListReqDto.getIsArchive(), "B3查询成果类型等级关系列表(管理)-D3查询成果类型等级关系列表-是否存档不能为空", false);
        queryAchievementTypeGradeRelationshipListRespDto = fwAppAchievementClient.queryAchievementTypeGradeRelationshipList(queryAchievementTypeGradeRelationshipListReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


        queryAchievementTypeGradeRelationshipListRespDto_1 = queryAchievementTypeGradeRelationshipListRespDto;

        BffQueryAchievementTypeGradeRelationshipListRespDto retData = new BffQueryAchievementTypeGradeRelationshipListRespDto();
        if (queryAchievementTypeGradeRelationshipListRespDto_1 != null) {
            retData.setAchievementTypeGradeRelationshipList(queryAchievementTypeGradeRelationshipListRespDto_1.getAchievementGradeList().stream().map(item -> BeanUtil.toBean(item, BffAchievementTypeGradeRelationshipDto.class)).collect(Collectors.toList()));//objList-to-objLists//sourceId:1693062_1
        }


        return retData;
    }

    /**
     * B3修改成果类别(管理)[9171]
     * gen by moon at 4/3/2024, 2:26:59 PM
     */
    @Trace(operationName = "B3修改成果类别(管理)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Override
    public BffUpdateAchievementCategoryRespDto updateAchievementCategory(BffUpdateAchievementCategoryReqDto reqDto) {


        //步骤0: D3修改成果类别业务处理(公共) - updateAchievementCategoryBusinessHandleCom
        UpdateAchievementCategoryBusinessHandleComRespDto updateAchievementCategoryBusinessHandleComRespDto = null;
        UpdateAchievementCategoryBusinessHandleComReqDto updateAchievementCategoryBusinessHandleComReqDto = new UpdateAchievementCategoryBusinessHandleComReqDto();
        updateAchievementCategoryBusinessHandleComReqDto.setSpaceId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecSpaceId());//CURRENT_SPACEID//sourceId:1693053_1
        if (reqDto != null) {
            updateAchievementCategoryBusinessHandleComReqDto.setAchievementCategoryId(reqDto.getAchievementCategoryId());//SimpleFieldAssign//sourceId:1693048_1
            updateAchievementCategoryBusinessHandleComReqDto.setAchievementTypeId(reqDto.getAchievementTypeId());//SimpleFieldAssign//sourceId:1693049_1
            updateAchievementCategoryBusinessHandleComReqDto.setAchievementCategoryNumber(reqDto.getAchievementCategoryNumber());//SimpleFieldAssign//sourceId:1693050_1
            updateAchievementCategoryBusinessHandleComReqDto.setAchievementCategoryName(reqDto.getAchievementCategoryName());//SimpleFieldAssign//sourceId:1693051_1
            updateAchievementCategoryBusinessHandleComReqDto.setAchievementCategoryDesc(reqDto.getAchievementCategoryDesc());//SimpleFieldAssign//sourceId:1693052_1
            updateAchievementCategoryBusinessHandleComReqDto.setSubjectLifeCycle(reqDto.getSubjectLifeCycle());//SimpleFieldAssign//sourceId:1693054_1
        }

        /*D3修改成果类别业务处理(公共)[9164]   */
        Assert.isNull(updateAchievementCategoryBusinessHandleComReqDto.getAchievementCategoryId(), "B3修改成果类别(管理)-D3修改成果类别业务处理(公共)-成果类别ID不能为空", false);
        Assert.isNull(updateAchievementCategoryBusinessHandleComReqDto.getSpaceId(), "B3修改成果类别(管理)-D3修改成果类别业务处理(公共)-创建于空间ID不能为空", false);
        updateAchievementCategoryBusinessHandleComRespDto = fwAppAchievementClient.updateAchievementCategoryBusinessHandleCom(updateAchievementCategoryBusinessHandleComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


        BffUpdateAchievementCategoryRespDto retData = new BffUpdateAchievementCategoryRespDto();


        return retData;
    }

    /**
     * B3删除成果类别(管理)[9174]
     * gen by moon at 4/3/2024, 2:27:02 PM
     */
    @Trace(operationName = "B3删除成果类别(管理)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Override
    public BffDeleteAchievementCategoryRespDto deleteAchievementCategory(BffDeleteAchievementCategoryReqDto reqDto) {


        //步骤0: D3删除成果类别业务处理(公共) - deleteAchievementCategoryBusinessHandleCom
        DeleteAchievementCategoryBusinessHandleComRespDto deleteAchievementCategoryBusinessHandleComRespDto = null;
        DeleteAchievementCategoryBusinessHandleComReqDto deleteAchievementCategoryBusinessHandleComReqDto = new DeleteAchievementCategoryBusinessHandleComReqDto();
        deleteAchievementCategoryBusinessHandleComReqDto.setSpaceId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecSpaceId());//CURRENT_SPACEID//sourceId:1693093_1
        if (reqDto != null) {
            deleteAchievementCategoryBusinessHandleComReqDto.setAchievementCategoryId(reqDto.getAchievementCategoryId());//SimpleFieldAssign//sourceId:1693092_1
        }

        /*D3删除成果类别业务处理(公共)[9173]   */
        Assert.isNull(deleteAchievementCategoryBusinessHandleComReqDto.getAchievementCategoryId(), "B3删除成果类别(管理)-D3删除成果类别业务处理(公共)-成果类别ID不能为空", false);
        Assert.isNull(deleteAchievementCategoryBusinessHandleComReqDto.getSpaceId(), "B3删除成果类别(管理)-D3删除成果类别业务处理(公共)-创建于空间ID不能为空", false);
        deleteAchievementCategoryBusinessHandleComRespDto = fwAppAchievementClient.deleteAchievementCategoryBusinessHandleCom(deleteAchievementCategoryBusinessHandleComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


        BffDeleteAchievementCategoryRespDto retData = new BffDeleteAchievementCategoryRespDto();


        return retData;
    }

    /**
     * B3查询成果等级列表(管理)[9177]
     * gen by moon at 4/3/2024, 2:27:05 PM
     */
    @Trace(operationName = "B3查询成果等级列表(管理)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Override
    public BffQueryAchievementGradeListRespDto queryAchievementGradeList(BffQueryAchievementGradeListReqDto reqDto) {


        QueryAchievementGradeListComRespDto queryAchievementGradeListComRespDto_1 = null;
        BatchQueryInductionRecordListComRespDto batchQueryInductionRecordListComRespDto_1 = null;
//步骤0: D3查询成果等级列表(公共) - queryAchievementGradeListCom
        QueryAchievementGradeListComRespDto queryAchievementGradeListComRespDto = null;
        QueryAchievementGradeListComReqDto queryAchievementGradeListComReqDto = new QueryAchievementGradeListComReqDto();
        queryAchievementGradeListComReqDto.setSpaceId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecSpaceId());//CURRENT_SPACEID//sourceId:1693116_1
        if (reqDto != null) {
            queryAchievementGradeListComReqDto.setIsArchive(reqDto.getIsArchive());//SimpleFieldAssign//sourceId:1693114_1
        }

        /*D3查询成果等级列表(公共)[9166]   */
        Assert.isNull(queryAchievementGradeListComReqDto.getIsArchive(), "B3查询成果等级列表(管理)-D3查询成果等级列表(公共)-是否存档不能为空", false);
        Assert.isNull(queryAchievementGradeListComReqDto.getSpaceId(), "B3查询成果等级列表(管理)-D3查询成果等级列表(公共)-创建于空间ID不能为空", false);
        queryAchievementGradeListComRespDto = fwAppAchievementClient.queryAchievementGradeListCom(queryAchievementGradeListComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


        queryAchievementGradeListComRespDto_1 = queryAchievementGradeListComRespDto;

//步骤1: D1-3批量查询就职记录列表（公共） - batchQueryInductionRecordListCom
        BatchQueryInductionRecordListComRespDto batchQueryInductionRecordListComRespDto = null;
        if (queryAchievementGradeListComRespDto != null) {
            BatchQueryInductionRecordListComReqDto batchQueryInductionRecordListComReqDto = new BatchQueryInductionRecordListComReqDto();
            if (queryAchievementGradeListComRespDto != null && queryAchievementGradeListComRespDto.getAchievementGradeList() != null && !CollectionUtil.isEmpty(queryAchievementGradeListComRespDto.getAchievementGradeList())) {
                batchQueryInductionRecordListComReqDto.setPerOrgInductionRecordList(queryAchievementGradeListComRespDto.getAchievementGradeList().stream().map(item -> item.getOperationInductionId())
                        .collect(Collectors.toList()));/*list-to-strings*///sourceId:1693126_1
            }

            /*D1-3批量查询就职记录列表（公共）[602]   */

            batchQueryInductionRecordListComRespDto = fwBaseInductionRecordClient.batchQueryInductionRecordListCom(batchQueryInductionRecordListComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


            batchQueryInductionRecordListComRespDto_1 = batchQueryInductionRecordListComRespDto;
        }

        BffQueryAchievementGradeListRespDto retData = new BffQueryAchievementGradeListRespDto();
        //数据集融合  MoreListToOneSource
        if (queryAchievementGradeListComRespDto_1 != null && !CollectionUtil.isEmpty(queryAchievementGradeListComRespDto_1.getAchievementGradeList())) {
            for (AchievementGradeDto achievementGradeDto : queryAchievementGradeListComRespDto_1.getAchievementGradeList()) {
                BffAchievementGradeDto retElm = new BffAchievementGradeDto();
                if (queryAchievementGradeListComRespDto_1 != null) {
                    retElm.setAchievementGradeId(achievementGradeDto.getAchievementGradeId());//SimpleFieldAssign//sourceId:333097_2
                    retElm.setAchievementGradeNumber(achievementGradeDto.getAchievementGradeNumber());//SimpleFieldAssign//sourceId:333098_2
                    retElm.setAchievementGradeName(achievementGradeDto.getAchievementGradeName());//SimpleFieldAssign//sourceId:333099_2
                    retElm.setSubjectLifeCycle(achievementGradeDto.getSubjectLifeCycle());//SimpleFieldAssign//sourceId:333102_2
                    retElm.setOperationInductionId(achievementGradeDto.getOperationInductionId());//SimpleFieldAssign//sourceId:333103_2
                    retElm.setOperateTime(achievementGradeDto.getOperateTime());//SimpleFieldAssign//sourceId:333104_2
                }
                retData.getAchievementGradeList().add(retElm);
                if (batchQueryInductionRecordListComRespDto_1 != null) {
                    for (PerOrgInductionRecordDto perOrgInductionRecordDto : batchQueryInductionRecordListComRespDto_1.getPerOrgInductionRecordList()) {
                        if (perOrgInductionRecordDto.getInductionRecordId().equals(achievementGradeDto.getOperationInductionId())) {
                            if (batchQueryInductionRecordListComRespDto_1 != null) {
                                retElm.setIdCardName(perOrgInductionRecordDto.getIdCardName());//SimpleFieldAssign//sourceId:333131_2
                                retElm.setNickName(perOrgInductionRecordDto.getNickName());//SimpleFieldAssign//sourceId:333132_2
                                retElm.setUserFace(perOrgInductionRecordDto.getUserFace());//SimpleFieldAssign//sourceId:333133_2
                            }
                        }
                    }
                }

            }
        }//sourceId:1693119_1


        return retData;
    }

    /**
     * B3查询成果类型详情(管理)[9183]
     * gen by moon at 4/3/2024, 7:05:33 PM
     */
    @Trace(operationName = "B3查询成果类型详情(管理)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Override
    public BffQueryAchievementTypeDetailRespDto queryAchievementTypeDetail(BffQueryAchievementTypeDetailReqDto reqDto) {


        QueryAchievementTypeDetailComRespDto queryAchievementTypeDetailComRespDto_1 = null;
        QueryInductionRecordInfoDetailComRespDto queryInductionRecordInfoDetailComRespDto_1 = null;
//步骤0: D3查询成果类型详情(公共) - queryAchievementTypeDetailCom
        QueryAchievementTypeDetailComRespDto queryAchievementTypeDetailComRespDto = null;
        QueryAchievementTypeDetailComReqDto queryAchievementTypeDetailComReqDto = new QueryAchievementTypeDetailComReqDto();
        queryAchievementTypeDetailComReqDto.setSpaceId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecSpaceId());//CURRENT_SPACEID//sourceId:1693197_1
        if (reqDto != null) {
            queryAchievementTypeDetailComReqDto.setAchievementTypeId(reqDto.getAchievementTypeId());//SimpleFieldAssign//sourceId:1693196_1
        }

        /*D3查询成果类型详情(公共)[9148]   */
        Assert.isNull(queryAchievementTypeDetailComReqDto.getAchievementTypeId(), "B3查询成果类型详情(管理)-D3查询成果类型详情(公共)-成果类型ID不能为空", false);
        Assert.isNull(queryAchievementTypeDetailComReqDto.getSpaceId(), "B3查询成果类型详情(管理)-D3查询成果类型详情(公共)-创建于空间ID不能为空", false);
        queryAchievementTypeDetailComRespDto = fwAppAchievementClient.queryAchievementTypeDetailCom(queryAchievementTypeDetailComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


        queryAchievementTypeDetailComRespDto_1 = queryAchievementTypeDetailComRespDto;

//步骤1: D1-3查询个人就职记录信息详情（公共） - queryInductionRecordInfoDetailCom
        QueryInductionRecordInfoDetailComRespDto queryInductionRecordInfoDetailComRespDto = null;
        if (queryAchievementTypeDetailComRespDto != null) {
            QueryInductionRecordInfoDetailComReqDto queryInductionRecordInfoDetailComReqDto = new QueryInductionRecordInfoDetailComReqDto();
            queryInductionRecordInfoDetailComReqDto.setSpaceId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecSpaceId());//CURRENT_SPACEID//sourceId:1693280_1
            if (queryAchievementTypeDetailComRespDto != null) {
                queryInductionRecordInfoDetailComReqDto.setInductionRecordId(queryAchievementTypeDetailComRespDto.getOperationInductionId());//SimpleFieldAssign//sourceId:1693272_1
            }

            /*D1-3查询个人就职记录信息详情（公共）[715]   */
            Assert.isNull(queryInductionRecordInfoDetailComReqDto.getInductionRecordId(), "B3查询成果类型详情(管理)-D1-3查询个人就职记录信息详情（公共）-就职记录ID不能为空", false);
            Assert.isNull(queryInductionRecordInfoDetailComReqDto.getSpaceId(), "B3查询成果类型详情(管理)-D1-3查询个人就职记录信息详情（公共）-创建于空间ID不能为空", false);
            queryInductionRecordInfoDetailComRespDto = fwBaseInductionRecordClient.queryInductionRecordInfoDetailCom(queryInductionRecordInfoDetailComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


            queryInductionRecordInfoDetailComRespDto_1 = queryInductionRecordInfoDetailComRespDto;
        }

        BffQueryAchievementTypeDetailRespDto retData = new BffQueryAchievementTypeDetailRespDto();
        if (queryAchievementTypeDetailComRespDto_1 != null) {
            retData.setAchievementTypeId(queryAchievementTypeDetailComRespDto_1.getAchievementTypeId());//SimpleFieldAssign//sourceId:1693199_1
            retData.setAchievementTypeNumber(queryAchievementTypeDetailComRespDto_1.getAchievementTypeNumber());//SimpleFieldAssign//sourceId:1693200_1
            retData.setAchievementTypeName(queryAchievementTypeDetailComRespDto_1.getAchievementTypeName());//SimpleFieldAssign//sourceId:1693201_1
            retData.setAchievementDesc(queryAchievementTypeDetailComRespDto_1.getAchievementDesc());//SimpleFieldAssign//sourceId:1693202_1
            retData.setIsStandard(queryAchievementTypeDetailComRespDto_1.getIsStandard());//SimpleFieldAssign//sourceId:1693203_1
            retData.setBelongName(queryAchievementTypeDetailComRespDto_1.getBelongName());//SimpleFieldAssign//sourceId:1693204_1
            retData.setSubjectLifeCycle(queryAchievementTypeDetailComRespDto_1.getSubjectLifeCycle());//SimpleFieldAssign//sourceId:1693287_1
            retData.setOperationInductionId(queryAchievementTypeDetailComRespDto_1.getOperationInductionId());//SimpleFieldAssign//sourceId:1693288_1
            retData.setOperateTime(queryAchievementTypeDetailComRespDto_1.getOperateTime());//SimpleFieldAssign//sourceId:1693289_1
        }
        if (queryInductionRecordInfoDetailComRespDto_1 != null) {
            retData.setIdCardName(queryInductionRecordInfoDetailComRespDto_1.getIdCardName());//SimpleFieldAssign//sourceId:1693290_1
            retData.setNickName(queryInductionRecordInfoDetailComRespDto_1.getNickName());//SimpleFieldAssign//sourceId:1693291_1
            retData.setUserFace(queryInductionRecordInfoDetailComRespDto_1.getUserFace());//SimpleFieldAssign//sourceId:1693292_1
        }


        return retData;
    }

    /**
     * B3查询成果等级详情(管理)[9184]
     * gen by moon at 4/3/2024, 7:05:40 PM
     */
    @Trace(operationName = "B3查询成果等级详情(管理)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Override
    public BffQueryAchievementGradeDetailRespDto queryAchievementGradeDetail(BffQueryAchievementGradeDetailReqDto reqDto) {


        QueryAchievementGradeDetailComRespDto queryAchievementGradeDetailComRespDto_1 = null;
        QueryInductionRecordInfoDetailComRespDto queryInductionRecordInfoDetailComRespDto_1 = null;
//步骤0: D3查询成果等级详情(公共) - queryAchievementGradeDetailCom
        QueryAchievementGradeDetailComRespDto queryAchievementGradeDetailComRespDto = null;
        QueryAchievementGradeDetailComReqDto queryAchievementGradeDetailComReqDto = new QueryAchievementGradeDetailComReqDto();
        queryAchievementGradeDetailComReqDto.setSpaceId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecSpaceId());//CURRENT_SPACEID//sourceId:1693221_1
        if (reqDto != null) {
            queryAchievementGradeDetailComReqDto.setAchievementGradeId(reqDto.getAchievementGradeId());//SimpleFieldAssign//sourceId:1693220_1
        }

        /*D3查询成果等级详情(公共)[9154]   */
        Assert.isNull(queryAchievementGradeDetailComReqDto.getAchievementGradeId(), "B3查询成果等级详情(管理)-D3查询成果等级详情(公共)-成果等级ID不能为空", false);
        Assert.isNull(queryAchievementGradeDetailComReqDto.getSpaceId(), "B3查询成果等级详情(管理)-D3查询成果等级详情(公共)-创建于空间ID不能为空", false);
        queryAchievementGradeDetailComRespDto = fwAppAchievementClient.queryAchievementGradeDetailCom(queryAchievementGradeDetailComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


        queryAchievementGradeDetailComRespDto_1 = queryAchievementGradeDetailComRespDto;

//步骤1: D1-3查询个人就职记录信息详情（公共） - queryInductionRecordInfoDetailCom
        QueryInductionRecordInfoDetailComRespDto queryInductionRecordInfoDetailComRespDto = null;
        if (queryAchievementGradeDetailComRespDto != null) {
            QueryInductionRecordInfoDetailComReqDto queryInductionRecordInfoDetailComReqDto = new QueryInductionRecordInfoDetailComReqDto();
            queryInductionRecordInfoDetailComReqDto.setSpaceId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecSpaceId());//CURRENT_SPACEID//sourceId:1693251_1
            if (queryAchievementGradeDetailComRespDto != null) {
                queryInductionRecordInfoDetailComReqDto.setInductionRecordId(queryAchievementGradeDetailComRespDto.getOperationInductionId());//SimpleFieldAssign//sourceId:1693243_1
            }

            /*D1-3查询个人就职记录信息详情（公共）[715]   */
            Assert.isNull(queryInductionRecordInfoDetailComReqDto.getInductionRecordId(), "B3查询成果等级详情(管理)-D1-3查询个人就职记录信息详情（公共）-就职记录ID不能为空", false);
            Assert.isNull(queryInductionRecordInfoDetailComReqDto.getSpaceId(), "B3查询成果等级详情(管理)-D1-3查询个人就职记录信息详情（公共）-创建于空间ID不能为空", false);
            queryInductionRecordInfoDetailComRespDto = fwBaseInductionRecordClient.queryInductionRecordInfoDetailCom(queryInductionRecordInfoDetailComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


            queryInductionRecordInfoDetailComRespDto_1 = queryInductionRecordInfoDetailComRespDto;
        }

        BffQueryAchievementGradeDetailRespDto retData = new BffQueryAchievementGradeDetailRespDto();
        if (queryAchievementGradeDetailComRespDto_1 != null) {
            retData.setAchievementGradeId(queryAchievementGradeDetailComRespDto_1.getAchievementGradeId());//SimpleFieldAssign//sourceId:1693226_1
            retData.setAchievementGradeNumber(queryAchievementGradeDetailComRespDto_1.getAchievementGradeNumber());//SimpleFieldAssign//sourceId:1693227_1
            retData.setAchievementGradeName(queryAchievementGradeDetailComRespDto_1.getAchievementGradeName());//SimpleFieldAssign//sourceId:1693228_1
            retData.setAchievementGradeDesc(queryAchievementGradeDetailComRespDto_1.getAchievementGradeDesc());//SimpleFieldAssign//sourceId:1693229_1
            retData.setSubjectLifeCycle(queryAchievementGradeDetailComRespDto_1.getSubjectLifeCycle());//SimpleFieldAssign//sourceId:1693230_1
            retData.setOperationInductionId(queryAchievementGradeDetailComRespDto_1.getOperationInductionId());//SimpleFieldAssign//sourceId:1693261_1
            retData.setOperateTime(queryAchievementGradeDetailComRespDto_1.getOperateTime());//SimpleFieldAssign//sourceId:1693262_1
        }
        if (queryInductionRecordInfoDetailComRespDto_1 != null) {
            retData.setIdCardName(queryInductionRecordInfoDetailComRespDto_1.getIdCardName());//SimpleFieldAssign//sourceId:1693258_1
            retData.setNickName(queryInductionRecordInfoDetailComRespDto_1.getNickName());//SimpleFieldAssign//sourceId:1693259_1
            retData.setUserFace(queryInductionRecordInfoDetailComRespDto_1.getUserFace());//SimpleFieldAssign//sourceId:1693260_1
        }


        return retData;
    }

    /**
     * B3删除成果等级(管理)[9185]
     * gen by moon at 4/3/2024, 7:05:48 PM
     */
    @Trace(operationName = "B3删除成果等级(管理)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Override
    public BffDeleteAchievementGradeRespDto deleteAchievementGrade(BffDeleteAchievementGradeReqDto reqDto) {


        //步骤0: D3删除成果等级业务处理 - deleteAchievementGradeBusinessHandle
        DeleteAchievementGradeBusinessHandleRespDto deleteAchievementGradeBusinessHandleRespDto = null;
        DeleteAchievementGradeBusinessHandleReqDto deleteAchievementGradeBusinessHandleReqDto = new DeleteAchievementGradeBusinessHandleReqDto();
        if (reqDto != null) {
            deleteAchievementGradeBusinessHandleReqDto.setAchievementGradeId(reqDto.getAchievementGradeId());//SimpleFieldAssign//sourceId:1693293_1
        }

        /*D3删除成果等级业务处理[9179]   */
        Assert.isNull(deleteAchievementGradeBusinessHandleReqDto.getAchievementGradeId(), "B3删除成果等级(管理)-D3删除成果等级业务处理-成果等级ID不能为空", false);
        deleteAchievementGradeBusinessHandleRespDto = fwAppAchievementClient.deleteAchievementGradeBusinessHandle(deleteAchievementGradeBusinessHandleReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


        BffDeleteAchievementGradeRespDto retData = new BffDeleteAchievementGradeRespDto();


        return retData;
    }

    /**
     * B3删除成果类型(管理)[9188]
     * gen by moon at 4/3/2024, 7:05:55 PM
     */
    @Trace(operationName = "B3删除成果类型(管理)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Override
    public BffDeleteAchievementTypeRespDto deleteAchievementType(BffDeleteAchievementTypeReqDto reqDto) {


        //步骤0: D3删除成果类型业务处理 - deleteAchievementTypeBusinessHandle
        DeleteAchievementTypeBusinessHandleRespDto deleteAchievementTypeBusinessHandleRespDto = null;
        DeleteAchievementTypeBusinessHandleReqDto deleteAchievementTypeBusinessHandleReqDto = new DeleteAchievementTypeBusinessHandleReqDto();
        if (reqDto != null) {
            deleteAchievementTypeBusinessHandleReqDto.setAchievementTypeId(reqDto.getAchievementTypeId());//SimpleFieldAssign//sourceId:1693349_1
        }

        /*D3删除成果类型业务处理[9187]   */
        Assert.isNull(deleteAchievementTypeBusinessHandleReqDto.getAchievementTypeId(), "B3删除成果类型(管理)-D3删除成果类型业务处理-成果类型ID不能为空", false);
        deleteAchievementTypeBusinessHandleRespDto = fwAppAchievementClient.deleteAchievementTypeBusinessHandle(deleteAchievementTypeBusinessHandleReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


        BffDeleteAchievementTypeRespDto retData = new BffDeleteAchievementTypeRespDto();


        return retData;
    }

    /**
     * B3新增成果类型等级关系(管理)[9193]
     * gen by moon at 4/3/2024, 7:06:02 PM
     */
    @Trace(operationName = "B3新增成果类型等级关系(管理)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Override
    public BffAddAchievementTypeGradeRelationshipRespDto addAchievementTypeGradeRelationship(BffAddAchievementTypeGradeRelationshipReqDto reqDto) {


        AddAchievementTypeGradeRelationshipComRespDto addAchievementTypeGradeRelationshipComRespDto_1 = null;
//步骤0: D3新增成果类型等级关系(公共) - addAchievementTypeGradeRelationshipCom
        AddAchievementTypeGradeRelationshipComRespDto addAchievementTypeGradeRelationshipComRespDto = null;
        AddAchievementTypeGradeRelationshipComReqDto addAchievementTypeGradeRelationshipComReqDto = new AddAchievementTypeGradeRelationshipComReqDto();
        addAchievementTypeGradeRelationshipComReqDto.setSpaceId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecSpaceId());//CURRENT_SPACEID//sourceId:1693379_1
        addAchievementTypeGradeRelationshipComReqDto.setAppId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecAppId());//CURRENT_APPID//sourceId:1693380_1
        if (reqDto != null) {
            addAchievementTypeGradeRelationshipComReqDto.setAchievementGradeId(reqDto.getAchievementGradeId());//SimpleFieldAssign//sourceId:1693376_1
            addAchievementTypeGradeRelationshipComReqDto.setAchievementTypeId(reqDto.getAchievementTypeId());//SimpleFieldAssign//sourceId:1693377_1
            addAchievementTypeGradeRelationshipComReqDto.setSubjectLifeCycle(reqDto.getSubjectLifeCycle());//SimpleFieldAssign//sourceId:1693378_1
        }

        /*D3新增成果类型等级关系(公共)[9160]   */
        Assert.isNull(addAchievementTypeGradeRelationshipComReqDto.getAchievementGradeId(), "B3新增成果类型等级关系(管理)-D3新增成果类型等级关系(公共)-成果等级ID不能为空", false);
        Assert.isNull(addAchievementTypeGradeRelationshipComReqDto.getAchievementTypeId(), "B3新增成果类型等级关系(管理)-D3新增成果类型等级关系(公共)-成果类型ID不能为空", false);
        Assert.isNull(addAchievementTypeGradeRelationshipComReqDto.getSubjectLifeCycle(), "B3新增成果类型等级关系(管理)-D3新增成果类型等级关系(公共)-主体生命周期不能为空", false);
        Assert.isNull(addAchievementTypeGradeRelationshipComReqDto.getSpaceId(), "B3新增成果类型等级关系(管理)-D3新增成果类型等级关系(公共)-创建于空间ID不能为空", false);
        Assert.isNull(addAchievementTypeGradeRelationshipComReqDto.getAppId(), "B3新增成果类型等级关系(管理)-D3新增成果类型等级关系(公共)-创建于联盟应用ID不能为空", false);
        addAchievementTypeGradeRelationshipComRespDto = fwAppAchievementClient.addAchievementTypeGradeRelationshipCom(addAchievementTypeGradeRelationshipComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


        addAchievementTypeGradeRelationshipComRespDto_1 = addAchievementTypeGradeRelationshipComRespDto;

        BffAddAchievementTypeGradeRelationshipRespDto retData = new BffAddAchievementTypeGradeRelationshipRespDto();
        if (addAchievementTypeGradeRelationshipComRespDto_1 != null) {
            retData.setTypeGradeRelationshipId(addAchievementTypeGradeRelationshipComRespDto_1.getTypeGradeRelationshipId());//SimpleFieldAssign//sourceId:1693387_1
        }


        return retData;
    }

    /**
     * B3发布生效成果类型等级关系(管理)[9196]
     * gen by moon at 4/3/2024, 7:06:09 PM
     */
    @Trace(operationName = "B3发布生效成果类型等级关系(管理)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Override
    public BffUpdateAchievementTypeGradeRelationshipRespDto updateAchievementTypeGradeRelationship(BffUpdateAchievementTypeGradeRelationshipReqDto reqDto) {


        //步骤0: D3修改成果类型等级关系(公共) - updateAchievementTypeGradeRelationshipCom
        UpdateAchievementTypeGradeRelationshipComRespDto updateAchievementTypeGradeRelationshipComRespDto = null;
        UpdateAchievementTypeGradeRelationshipComReqDto updateAchievementTypeGradeRelationshipComReqDto = new UpdateAchievementTypeGradeRelationshipComReqDto();
        updateAchievementTypeGradeRelationshipComReqDto.setOperationInductionId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecInductionRecordId());//CURRENT_INDUCTIONID//sourceId:1693438_1
        updateAchievementTypeGradeRelationshipComReqDto.setOperateTime(CommonFunctionHelper.getCurrentTime());//SYSTEM_CURRENT_TIME//sourceId:1693439_1
        if (reqDto != null) {
            updateAchievementTypeGradeRelationshipComReqDto.setTypeGradeRelationshipId(reqDto.getTypeGradeRelationshipId());//SimpleFieldAssign//sourceId:1693435_1
            updateAchievementTypeGradeRelationshipComReqDto.setSubjectLifeCycle(reqDto.getSubjectLifeCycle());//SimpleFieldAssign//sourceId:1693437_1
        }

        /*D3修改成果类型等级关系(公共)[9189]   */
        Assert.isNull(updateAchievementTypeGradeRelationshipComReqDto.getTypeGradeRelationshipId(), "B3发布生效成果类型等级关系(管理)-D3修改成果类型等级关系(公共)-成果类型等级关系ID不能为空", false);
        Assert.isNull(updateAchievementTypeGradeRelationshipComReqDto.getOperationInductionId(), "B3发布生效成果类型等级关系(管理)-D3修改成果类型等级关系(公共)-操作人就职记录ID不能为空", false);
        Assert.isNull(updateAchievementTypeGradeRelationshipComReqDto.getOperateTime(), "B3发布生效成果类型等级关系(管理)-D3修改成果类型等级关系(公共)-操作时间不能为空", false);
        updateAchievementTypeGradeRelationshipComRespDto = fwAppAchievementClient.updateAchievementTypeGradeRelationshipCom(updateAchievementTypeGradeRelationshipComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


        BffUpdateAchievementTypeGradeRelationshipRespDto retData = new BffUpdateAchievementTypeGradeRelationshipRespDto();


        return retData;
    }

    /**
     * B3修改成果类型(管理)[9197]
     * gen by moon at 5/9/2024, 2:57:35 PM
     */
    @Trace(operationName = "B3修改成果类型(管理)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Override
    public BffUpdateAchievementTypeRespDto updateAchievementType(BffUpdateAchievementTypeReqDto reqDto) {


        //步骤0: D3修改成果类型业务处理(公共) - updateAchievementTypeBusinessHandleCom
        UpdateAchievementTypeBusinessHandleComRespDto updateAchievementTypeBusinessHandleComRespDto = null;
        UpdateAchievementTypeBusinessHandleComReqDto updateAchievementTypeBusinessHandleComReqDto = new UpdateAchievementTypeBusinessHandleComReqDto();
        updateAchievementTypeBusinessHandleComReqDto.setSpaceId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecSpaceId());//CURRENT_SPACEID//sourceId:1693473_1
        if (reqDto != null) {
            updateAchievementTypeBusinessHandleComReqDto.setAchievementTypeId(reqDto.getAchievementTypeId());//SimpleFieldAssign//sourceId:1693466_1
            updateAchievementTypeBusinessHandleComReqDto.setAchievementTypeNumber(reqDto.getAchievementTypeNumber());//SimpleFieldAssign//sourceId:1693467_1
            updateAchievementTypeBusinessHandleComReqDto.setAchievementTypeName(reqDto.getAchievementTypeName());//SimpleFieldAssign//sourceId:1693468_1
            updateAchievementTypeBusinessHandleComReqDto.setAchievementDesc(reqDto.getAchievementDesc());//SimpleFieldAssign//sourceId:1693469_1
            updateAchievementTypeBusinessHandleComReqDto.setIsStandard(reqDto.getIsStandard());//SimpleFieldAssign//sourceId:1693470_1
            updateAchievementTypeBusinessHandleComReqDto.setUnit(reqDto.getUnit());//SimpleFieldAssign//sourceId:1785628_1
            updateAchievementTypeBusinessHandleComReqDto.setBelongName(reqDto.getBelongName());//SimpleFieldAssign//sourceId:1693471_1
            updateAchievementTypeBusinessHandleComReqDto.setSubjectLifeCycle(reqDto.getSubjectLifeCycle());//SimpleFieldAssign//sourceId:1693472_1
        }

        /*D3修改成果类型业务处理(公共)[9194]   */
        Assert.isNull(updateAchievementTypeBusinessHandleComReqDto.getAchievementTypeId(), "B3修改成果类型(管理)-D3修改成果类型业务处理(公共)-成果类型ID不能为空", false);
        Assert.isNull(updateAchievementTypeBusinessHandleComReqDto.getSpaceId(), "B3修改成果类型(管理)-D3修改成果类型业务处理(公共)-创建于空间ID不能为空", false);
        updateAchievementTypeBusinessHandleComRespDto = fwAppAchievementClient.updateAchievementTypeBusinessHandleCom(updateAchievementTypeBusinessHandleComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


        BffUpdateAchievementTypeRespDto retData = new BffUpdateAchievementTypeRespDto();


        return retData;
    }

    /**
     * B3修改成果等级(管理)[9198]
     * gen by moon at 5/9/2024, 2:57:36 PM
     */
    @Trace(operationName = "B3修改成果等级(管理)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Override
    public BffUpdateAchievementGradeRespDto updateAchievementGrade(BffUpdateAchievementGradeReqDto reqDto) {


        //步骤0: D3修改成果等级业务处理(公共) - updateAchievementGradeBusinessHandleCom
        UpdateAchievementGradeBusinessHandleComRespDto updateAchievementGradeBusinessHandleComRespDto = null;
        UpdateAchievementGradeBusinessHandleComReqDto updateAchievementGradeBusinessHandleComReqDto = new UpdateAchievementGradeBusinessHandleComReqDto();
        updateAchievementGradeBusinessHandleComReqDto.setSpaceId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecSpaceId());//CURRENT_SPACEID//sourceId:1693540_1
        if (reqDto != null) {
            updateAchievementGradeBusinessHandleComReqDto.setAchievementGradeId(reqDto.getAchievementGradeId());//SimpleFieldAssign//sourceId:1693536_1
            updateAchievementGradeBusinessHandleComReqDto.setAchievementGradeNumber(reqDto.getAchievementGradeNumber());//SimpleFieldAssign//sourceId:1693537_1
            updateAchievementGradeBusinessHandleComReqDto.setAchievementGradeName(reqDto.getAchievementGradeName());//SimpleFieldAssign//sourceId:1693538_1
            updateAchievementGradeBusinessHandleComReqDto.setAchievementGradeDesc(reqDto.getAchievementGradeDesc());//SimpleFieldAssign//sourceId:1693539_1
            updateAchievementGradeBusinessHandleComReqDto.setAchievementGradeModel(reqDto.getAchievementGradeModel());//SimpleFieldAssign//sourceId:1785687_1
            updateAchievementGradeBusinessHandleComReqDto.setSubjectLifeCycle(reqDto.getSubjectLifeCycle());//SimpleFieldAssign//sourceId:1693541_1
        }

        /*D3修改成果等级业务处理(公共)[9195]   */
        Assert.isNull(updateAchievementGradeBusinessHandleComReqDto.getAchievementGradeId(), "B3修改成果等级(管理)-D3修改成果等级业务处理(公共)-成果等级ID不能为空", false);
        Assert.isNull(updateAchievementGradeBusinessHandleComReqDto.getSpaceId(), "B3修改成果等级(管理)-D3修改成果等级业务处理(公共)-创建于空间ID不能为空", false);
        updateAchievementGradeBusinessHandleComRespDto = fwAppAchievementClient.updateAchievementGradeBusinessHandleCom(updateAchievementGradeBusinessHandleComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


        BffUpdateAchievementGradeRespDto retData = new BffUpdateAchievementGradeRespDto();


        return retData;
    }

    /**
     * B3调整成果类型等级关系排序(管理)[9204]
     * gen by moon at 4/3/2024, 7:26:03 PM
     */
    @Trace(operationName = "B3调整成果类型等级关系排序(管理)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Override
    public BffImplementAdjustAchievementTypeGradeRelationshipBusinessHandleRespDto implementAdjustAchievementTypeGradeRelationshipBusinessHandle(BffImplementAdjustAchievementTypeGradeRelationshipBusinessHandleReqDto reqDto) {


        //步骤0: D3执行调整成果类型等级关系排序 - implementAdjustAchievementTypeGradeRelationshipBusinessHandle
        ImplementAdjustAchievementTypeGradeRelationshipBusinessHandleRespDto implementAdjustAchievementTypeGradeRelationshipBusinessHandleRespDto = null;
        ImplementAdjustAchievementTypeGradeRelationshipBusinessHandleReqDto implementAdjustAchievementTypeGradeRelationshipBusinessHandleReqDto = new ImplementAdjustAchievementTypeGradeRelationshipBusinessHandleReqDto();
        if (reqDto != null && reqDto.getAchievementTypeGradeRelationshipList() != null && !CollectionUtil.isEmpty(reqDto.getAchievementTypeGradeRelationshipList())) {
            implementAdjustAchievementTypeGradeRelationshipBusinessHandleReqDto.setAchievementTypeGradeRelationshipList(reqDto.getAchievementTypeGradeRelationshipList().stream().map(item -> BeanUtil.toBean(item, AchievementTypeGradeRelationshipDto.class)).collect(Collectors.toList()));//objList-to-objLists//sourceId:1693534_1
        }

        /*D3执行调整成果类型等级关系排序[9201]   */

        implementAdjustAchievementTypeGradeRelationshipBusinessHandleRespDto = fwAppAchievementClient.implementAdjustAchievementTypeGradeRelationshipBusinessHandle(implementAdjustAchievementTypeGradeRelationshipBusinessHandleReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


        BffImplementAdjustAchievementTypeGradeRelationshipBusinessHandleRespDto retData = new BffImplementAdjustAchievementTypeGradeRelationshipBusinessHandleRespDto();


        return retData;
    }

    /**
     * B3新增成果(管理)[9216]
     * gen by moon at 7/20/2024, 6:36:42 PM
     */
    @Trace(operationName = "B3新增成果(管理)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Override
    public BffAddAchievementRespDto addAchievement(BffAddAchievementReqDto reqDto) {


        AddAchievementBusinessHandleRespDto addAchievementBusinessHandleRespDto_1 = null;
//步骤0: D3新增成果业务处理 - addAchievementBusinessHandle
        AddAchievementBusinessHandleRespDto addAchievementBusinessHandleRespDto = null;
        AddAchievementBusinessHandleReqDto addAchievementBusinessHandleReqDto = new AddAchievementBusinessHandleReqDto();
        addAchievementBusinessHandleReqDto.setIsUseConversion("FALSE");//sourceId:1694677_1
        addAchievementBusinessHandleReqDto.setIsSymbolicAchievements("FALSE");//sourceId:1694678_1

        if (reqDto != null) {
            addAchievementBusinessHandleReqDto.setAchievementTypeId(reqDto.getAchievementTypeId());//SimpleFieldAssign//sourceId:1694670_1
            addAchievementBusinessHandleReqDto.setAchievementTypeNumber(reqDto.getAchievementTypeNumber());//SimpleFieldAssign//sourceId:1694671_1
            addAchievementBusinessHandleReqDto.setAchievementCategoryId(reqDto.getAchievementCategoryId());//SimpleFieldAssign//sourceId:1694672_1
            addAchievementBusinessHandleReqDto.setAchievementCategoryNumber(reqDto.getAchievementCategoryNumber());//SimpleFieldAssign//sourceId:1694673_1
            addAchievementBusinessHandleReqDto.setAchievementGradeId(reqDto.getAchievementGradeId());//SimpleFieldAssign//sourceId:1694674_1
            addAchievementBusinessHandleReqDto.setAchievementGradeNumber(reqDto.getAchievementGradeNumber());//SimpleFieldAssign//sourceId:1694675_1
            addAchievementBusinessHandleReqDto.setAchievementBusinessGradeId(reqDto.getAchievementBusinessGradeId());//SimpleFieldAssign//sourceId:1887293_1
            addAchievementBusinessHandleReqDto.setAchievementBusinessGradeNumber(reqDto.getAchievementBusinessGradeNumber());//SimpleFieldAssign//sourceId:1887294_1
            addAchievementBusinessHandleReqDto.setCopyrightObjectTypeCode(reqDto.getCopyrightObjectTypeCode());//SimpleFieldAssign//sourceId:1694676_1
            addAchievementBusinessHandleReqDto.setAchiveLibraryType(reqDto.getAchiveLibraryType());//SimpleFieldAssign//sourceId:1939185_1
            addAchievementBusinessHandleReqDto.setCopyrightObjectId(reqDto.getCopyrightObjectId());//SimpleFieldAssign//sourceId:1937137_1
            addAchievementBusinessHandleReqDto.setCopyrightObjectName(reqDto.getCopyrightObjectName());//SimpleFieldAssign//sourceId:1937136_1
            addAchievementBusinessHandleReqDto.setAchievementNumber(reqDto.getAchievementNumber());//SimpleFieldAssign//sourceId:1694679_1
            addAchievementBusinessHandleReqDto.setAchievementName(reqDto.getAchievementName());//SimpleFieldAssign//sourceId:1694680_1
            addAchievementBusinessHandleReqDto.setAchievementDesc(reqDto.getAchievementDesc());//SimpleFieldAssign//sourceId:1694681_1
            addAchievementBusinessHandleReqDto.setAchievementAddDesc(reqDto.getAchievementAddDesc());//SimpleFieldAssign//sourceId:1694682_1
            addAchievementBusinessHandleReqDto.setRelatedDocument(reqDto.getRelatedDocument());//SimpleFieldAssign//sourceId:1694683_1
            addAchievementBusinessHandleReqDto.setAwardedUnit(reqDto.getAwardedUnit());//SimpleFieldAssign//sourceId:1694684_1
            addAchievementBusinessHandleReqDto.setAwardedTime(reqDto.getAwardedTime());//SimpleFieldAssign//sourceId:1694685_1
            addAchievementBusinessHandleReqDto.setValidEndTime(reqDto.getValidEndTime());//SimpleFieldAssign//sourceId:1694686_1
            addAchievementBusinessHandleReqDto.setSubjectLifeCycle(reqDto.getSubjectLifeCycle());//SimpleFieldAssign//sourceId:1694687_1
            addAchievementBusinessHandleReqDto.setDutyDeptId(reqDto.getDutyDeptId());//SimpleFieldAssign//sourceId:1694688_1
        }

        /*D3新增成果业务处理[9217]   */
        Assert.isNull(addAchievementBusinessHandleReqDto.getAchievementTypeId(), "B3新增成果(管理)-D3新增成果业务处理-成果类型ID不能为空", false);
        Assert.isNull(addAchievementBusinessHandleReqDto.getAchievementTypeNumber(), "B3新增成果(管理)-D3新增成果业务处理-成果类型编号不能为空", false);
        Assert.isNull(addAchievementBusinessHandleReqDto.getCopyrightObjectTypeCode(), "B3新增成果(管理)-D3新增成果业务处理-版权归属对象类型编码不能为空", false);
        Assert.isNull(addAchievementBusinessHandleReqDto.getAchiveLibraryType(), "B3新增成果(管理)-D3新增成果业务处理-成果库类型不能为空", false);
        Assert.isNull(addAchievementBusinessHandleReqDto.getCopyrightObjectId(), "B3新增成果(管理)-D3新增成果业务处理-版权归属对象ID不能为空", false);
        Assert.isNull(addAchievementBusinessHandleReqDto.getCopyrightObjectName(), "B3新增成果(管理)-D3新增成果业务处理-版权归属对象名称不能为空", false);
        Assert.isNull(addAchievementBusinessHandleReqDto.getIsUseConversion(), "B3新增成果(管理)-D3新增成果业务处理-是否开启转化成果不能为空", false);
        Assert.isNull(addAchievementBusinessHandleReqDto.getIsSymbolicAchievements(), "B3新增成果(管理)-D3新增成果业务处理-是否标志性成果不能为空", false);
        Assert.isNull(addAchievementBusinessHandleReqDto.getAchievementNumber(), "B3新增成果(管理)-D3新增成果业务处理-成果编号不能为空", false);
        Assert.isNull(addAchievementBusinessHandleReqDto.getAchievementName(), "B3新增成果(管理)-D3新增成果业务处理-成果名称不能为空", false);
        Assert.isNull(addAchievementBusinessHandleReqDto.getAwardedTime(), "B3新增成果(管理)-D3新增成果业务处理-授予时间不能为空", false);
        Assert.isNull(addAchievementBusinessHandleReqDto.getSubjectLifeCycle(), "B3新增成果(管理)-D3新增成果业务处理-主体生命周期不能为空", false);
        Assert.isNull(addAchievementBusinessHandleReqDto.getDutyDeptId(), "B3新增成果(管理)-D3新增成果业务处理-业绩责任部门ID不能为空", false);
        addAchievementBusinessHandleRespDto = fwAppAchievementClient.addAchievementBusinessHandle(addAchievementBusinessHandleReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


        addAchievementBusinessHandleRespDto_1 = addAchievementBusinessHandleRespDto;

        BffAddAchievementRespDto retData = new BffAddAchievementRespDto();
        if (addAchievementBusinessHandleRespDto_1 != null) {
            retData.setAchievementId(addAchievementBusinessHandleRespDto_1.getAchievementId());//SimpleFieldAssign//sourceId:1694709_1
            retData.setAchievementCopyrightOwningId(addAchievementBusinessHandleRespDto_1.getAchievementCopyrightOwningId());//SimpleFieldAssign//sourceId:1694710_1
        }


        return retData;
    }

    /**
     * B3修改成果(管理)[9224]
     * gen by moon at 8/14/2024, 1:19:25 PM
     */
    @Trace(operationName = "B3修改成果(管理)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Override
    public BffUpdateAchievementRespDto updateAchievement(BffUpdateAchievementReqDto reqDto) {


        //步骤0: D3修改成果业务处理(公共) - updateAchievementBusinessHandleCom
        UpdateAchievementBusinessHandleComRespDto updateAchievementBusinessHandleComRespDto = null;
        UpdateAchievementBusinessHandleComReqDto updateAchievementBusinessHandleComReqDto = new UpdateAchievementBusinessHandleComReqDto();
        updateAchievementBusinessHandleComReqDto.setSpaceId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecSpaceId());//CURRENT_SPACEID//sourceId:1694831_1
        if (reqDto != null) {
            updateAchievementBusinessHandleComReqDto.setAchievementId(reqDto.getAchievementId());//SimpleFieldAssign//sourceId:1694829_1
            updateAchievementBusinessHandleComReqDto.setAchievementNumber(reqDto.getAchievementNumber());//SimpleFieldAssign//sourceId:1694830_1
            updateAchievementBusinessHandleComReqDto.setAchievementName(reqDto.getAchievementName());//SimpleFieldAssign//sourceId:1694832_1
            updateAchievementBusinessHandleComReqDto.setAchievementDesc(reqDto.getAchievementDesc());//SimpleFieldAssign//sourceId:1694833_1
            updateAchievementBusinessHandleComReqDto.setAchievementAddDesc(reqDto.getAchievementAddDesc());//SimpleFieldAssign//sourceId:1694834_1
            updateAchievementBusinessHandleComReqDto.setIsUseConversion(reqDto.getIsUseConversion());//SimpleFieldAssign//sourceId:1937782_1
            updateAchievementBusinessHandleComReqDto.setAchievementConversiontDesc(reqDto.getAchievementConversiontDesc());//SimpleFieldAssign//sourceId:1694835_1
            updateAchievementBusinessHandleComReqDto.setRelatedDocument(reqDto.getRelatedDocument());//SimpleFieldAssign//sourceId:1694836_1
            updateAchievementBusinessHandleComReqDto.setAwardedUnit(reqDto.getAwardedUnit());//SimpleFieldAssign//sourceId:1694837_1
            updateAchievementBusinessHandleComReqDto.setAwardedTime(reqDto.getAwardedTime());//SimpleFieldAssign//sourceId:1694838_1
            updateAchievementBusinessHandleComReqDto.setValidEndTime(reqDto.getValidEndTime());//SimpleFieldAssign//sourceId:1694839_1
            updateAchievementBusinessHandleComReqDto.setAchiveLibraryType(reqDto.getAchiveLibraryType());//SimpleFieldAssign//sourceId:1970290_1
            updateAchievementBusinessHandleComReqDto.setDocumentList(reqDto.getDocumentList().stream().map(item -> BeanUtil.toBean(item, DocumentDto.class)).collect(Collectors.toList()));//objList-to-objLists//sourceId:1953800_1
        }

        /*D3修改成果业务处理(公共)[9220]   */
        Assert.isNull(updateAchievementBusinessHandleComReqDto.getAchievementId(), "B3修改成果(管理)-D3修改成果业务处理(公共)-成果ID不能为空", false);
        Assert.isNull(updateAchievementBusinessHandleComReqDto.getSpaceId(), "B3修改成果(管理)-D3修改成果业务处理(公共)-创建于空间ID不能为空", false);
        updateAchievementBusinessHandleComRespDto = fwAppAchievementClient.updateAchievementBusinessHandleCom(updateAchievementBusinessHandleComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


        BffUpdateAchievementRespDto retData = new BffUpdateAchievementRespDto();


        return retData;
    }

    /**
     * B3查询成果详情(管理)[9225]
     * gen by moon at 8/6/2024, 7:52:07 PM
     */
    @Trace(operationName = "B3查询成果详情(管理)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Override
    public BffQueryAchievementDetailRespDto queryAchievementDetail(BffQueryAchievementDetailReqDto reqDto) {


        QueryAchievementDetailComRespDto queryAchievementDetailComRespDto_1 = null;
        QueryAchievementTeamMemberListComRespDto queryAchievementTeamMemberListComRespDto_1 = null;
        QueryAchievementTypeDetailComRespDto queryAchievementTypeDetailComRespDto_1 = null;
        QueryAchievementCategoryDetailComRespDto queryAchievementCategoryDetailComRespDto_1 = null;
        QueryAchievementGradeDetailComRespDto queryAchievementGradeDetailComRespDto_1 = null;
        QueryAchievementGradeDetailComRespDto queryAchievementGradeDetailComRespDto_3 = null;
        QueryAchievementCopyrightOwningDetailComRespDto queryAchievementCopyrightOwningDetailComRespDto_1 = null;
        QueryDeptDetailComBorderRespDto queryDeptDetailComBorderRespDto_1 = null;
        QueryUnstructuredRelationshipInstanceListComRespDto queryUnstructuredRelationshipInstanceListComRespDto_1 = null;
        QueryAchiveDockTargetReportTaskListComRespDto queryAchiveDockTargetReportTaskListComRespDto_1 = null;
        QueryInductionRecordDetailComBorderRespDto queryInductionRecordDetailComBorderRespDto_1 = null;
//步骤0: D3查询成果详情(公共) - queryAchievementDetailCom
        QueryAchievementDetailComRespDto queryAchievementDetailComRespDto = null;
        QueryAchievementDetailComReqDto queryAchievementDetailComReqDto = new QueryAchievementDetailComReqDto();
        queryAchievementDetailComReqDto.setSpaceId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecSpaceId());//CURRENT_SPACEID//sourceId:1694893_1
        if (reqDto != null) {
            queryAchievementDetailComReqDto.setAchievementId(reqDto.getAchievementId());//SimpleFieldAssign//sourceId:1694918_1
        }

        /*D3查询成果详情(公共)[9213]   */
        Assert.isNull(queryAchievementDetailComReqDto.getAchievementId(), "B3查询成果详情(管理)-D3查询成果详情(公共)-成果ID不能为空", false);
        Assert.isNull(queryAchievementDetailComReqDto.getSpaceId(), "B3查询成果详情(管理)-D3查询成果详情(公共)-创建于空间ID不能为空", false);
        queryAchievementDetailComRespDto = fwAppAchievementClient.queryAchievementDetailCom(queryAchievementDetailComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


        queryAchievementDetailComRespDto_1 = queryAchievementDetailComRespDto;

//步骤1: D3查询成果团队成员列表(公共) - queryAchievementTeamMemberListCom
        QueryAchievementTeamMemberListComRespDto queryAchievementTeamMemberListComRespDto = null;
        if (queryAchievementDetailComRespDto != null) {
            QueryAchievementTeamMemberListComReqDto queryAchievementTeamMemberListComReqDto = new QueryAchievementTeamMemberListComReqDto();
            queryAchievementTeamMemberListComReqDto.setIsArchive("FALSE");//sourceId:1785758_1
            queryAchievementTeamMemberListComReqDto.setSpaceId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecSpaceId());//CURRENT_SPACEID//sourceId:1785756_1
            if (queryAchievementDetailComRespDto != null) {
                queryAchievementTeamMemberListComReqDto.setAchievementId(queryAchievementDetailComRespDto.getAchievementId());//SimpleFieldAssign//sourceId:1785749_1
            }

            /*D3查询成果团队成员列表(公共)[9208]   */
            Assert.isNull(queryAchievementTeamMemberListComReqDto.getAchievementId(), "B3查询成果详情(管理)-D3查询成果团队成员列表(公共)-成果ID不能为空", false);
            Assert.isNull(queryAchievementTeamMemberListComReqDto.getIsArchive(), "B3查询成果详情(管理)-D3查询成果团队成员列表(公共)-是否存档不能为空", false);
            Assert.isNull(queryAchievementTeamMemberListComReqDto.getSpaceId(), "B3查询成果详情(管理)-D3查询成果团队成员列表(公共)-创建于空间ID不能为空", false);
            queryAchievementTeamMemberListComRespDto = fwAppAchievementClient.queryAchievementTeamMemberListCom(queryAchievementTeamMemberListComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


            queryAchievementTeamMemberListComRespDto_1 = queryAchievementTeamMemberListComRespDto;
        }

//步骤2: D3查询成果类型详情(公共) - queryAchievementTypeDetailCom
        QueryAchievementTypeDetailComRespDto queryAchievementTypeDetailComRespDto = null;
        if (queryAchievementDetailComRespDto != null) {
            QueryAchievementTypeDetailComReqDto queryAchievementTypeDetailComReqDto = new QueryAchievementTypeDetailComReqDto();
            queryAchievementTypeDetailComReqDto.setSpaceId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecSpaceId());//CURRENT_SPACEID//sourceId:1694925_1
            if (queryAchievementDetailComRespDto != null) {
                queryAchievementTypeDetailComReqDto.setAchievementTypeId(queryAchievementDetailComRespDto.getAchievementTypeId());//SimpleFieldAssign//sourceId:1694920_1
            }

            /*D3查询成果类型名称及版权归属别名[9148]   */
            Assert.isNull(queryAchievementTypeDetailComReqDto.getAchievementTypeId(), "B3查询成果详情(管理)-D3查询成果类型名称及版权归属别名-成果类型ID不能为空", false);
            Assert.isNull(queryAchievementTypeDetailComReqDto.getSpaceId(), "B3查询成果详情(管理)-D3查询成果类型名称及版权归属别名-创建于空间ID不能为空", false);
            queryAchievementTypeDetailComRespDto = fwAppAchievementClient.queryAchievementTypeDetailCom(queryAchievementTypeDetailComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


            queryAchievementTypeDetailComRespDto_1 = queryAchievementTypeDetailComRespDto;
        }

//步骤3: D3查询成果类别详情(公共) - queryAchievementCategoryDetailCom
        QueryAchievementCategoryDetailComRespDto queryAchievementCategoryDetailComRespDto = null;
        if (queryAchievementDetailComRespDto != null && queryAchievementDetailComRespDto.getAchievementCategoryId() != null) {
            QueryAchievementCategoryDetailComReqDto queryAchievementCategoryDetailComReqDto = new QueryAchievementCategoryDetailComReqDto();
            queryAchievementCategoryDetailComReqDto.setSpaceId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecSpaceId());//CURRENT_SPACEID//sourceId:1865407_1
            if (queryAchievementDetailComRespDto != null) {
                queryAchievementCategoryDetailComReqDto.setAchievementCategoryId(queryAchievementDetailComRespDto.getAchievementCategoryId());//SimpleFieldAssign//sourceId:1785732_1
            }

            /*D3查询成果类别名称[9153]   */
            Assert.isNull(queryAchievementCategoryDetailComReqDto.getAchievementCategoryId(), "B3查询成果详情(管理)-D3查询成果类别名称-成果类别ID不能为空", false);
            Assert.isNull(queryAchievementCategoryDetailComReqDto.getSpaceId(), "B3查询成果详情(管理)-D3查询成果类别名称-创建于空间ID不能为空", false);
            queryAchievementCategoryDetailComRespDto = fwAppAchievementClient.queryAchievementCategoryDetailCom(queryAchievementCategoryDetailComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


            queryAchievementCategoryDetailComRespDto_1 = queryAchievementCategoryDetailComRespDto;
        }

//步骤4: D3查询成果等级详情(公共) - queryAchievementGradeDetailCom
        QueryAchievementGradeDetailComRespDto queryAchievementGradeDetailComRespDto = null;
        if (queryAchievementDetailComRespDto != null && queryAchievementDetailComRespDto.getAchievementGradeId() != null) {
            QueryAchievementGradeDetailComReqDto queryAchievementGradeDetailComReqDto = new QueryAchievementGradeDetailComReqDto();
            queryAchievementGradeDetailComReqDto.setSpaceId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecSpaceId());//CURRENT_SPACEID//sourceId:1865408_1
            if (queryAchievementDetailComRespDto != null) {
                queryAchievementGradeDetailComReqDto.setAchievementGradeId(queryAchievementDetailComRespDto.getAchievementGradeId());//SimpleFieldAssign//sourceId:1785741_1
            }

            /*D3查询成果等级名称[9154]   */
            Assert.isNull(queryAchievementGradeDetailComReqDto.getAchievementGradeId(), "B3查询成果详情(管理)-D3查询成果等级名称-成果等级ID不能为空", false);
            Assert.isNull(queryAchievementGradeDetailComReqDto.getSpaceId(), "B3查询成果详情(管理)-D3查询成果等级名称-创建于空间ID不能为空", false);
            queryAchievementGradeDetailComRespDto = fwAppAchievementClient.queryAchievementGradeDetailCom(queryAchievementGradeDetailComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


            queryAchievementGradeDetailComRespDto_1 = queryAchievementGradeDetailComRespDto;
        }

//步骤5: D3查询成果等级详情(公共) - queryAchievementGradeDetailCom
        QueryAchievementGradeDetailComRespDto queryAchievementGradeDetailComRespDto_2 = null;
        if (queryAchievementDetailComRespDto != null && queryAchievementDetailComRespDto != null && queryAchievementDetailComRespDto.getAchievementBusinessGradeId() != null) {
            QueryAchievementGradeDetailComReqDto queryAchievementGradeDetailComReqDto_1 = new QueryAchievementGradeDetailComReqDto();
            queryAchievementGradeDetailComReqDto_1.setSpaceId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecSpaceId());//CURRENT_SPACEID//sourceId:1887321_1
            if (queryAchievementDetailComRespDto != null) {
                queryAchievementGradeDetailComReqDto_1.setAchievementGradeId(queryAchievementDetailComRespDto.getAchievementBusinessGradeId());//SimpleFieldAssign//sourceId:1887326_1
            }

            /*D3查询成果业务等级名称(公共)[9154]   */
            Assert.isNull(queryAchievementGradeDetailComReqDto_1.getAchievementGradeId(), "B3查询成果详情(管理)-D3查询成果业务等级名称(公共)-成果等级ID不能为空", false);
            Assert.isNull(queryAchievementGradeDetailComReqDto_1.getSpaceId(), "B3查询成果详情(管理)-D3查询成果业务等级名称(公共)-创建于空间ID不能为空", false);
            queryAchievementGradeDetailComRespDto_2 = fwAppAchievementClient.queryAchievementGradeDetailCom(queryAchievementGradeDetailComReqDto_1).getData()/*vcase invoke 跨dubbo调用;*/;


            queryAchievementGradeDetailComRespDto_3 = queryAchievementGradeDetailComRespDto_2;
        }

//步骤6: D3查询成果版权归属详情(公共) - queryAchievementCopyrightOwningDetailCom
        QueryAchievementCopyrightOwningDetailComRespDto queryAchievementCopyrightOwningDetailComRespDto = null;
        QueryAchievementCopyrightOwningDetailComReqDto queryAchievementCopyrightOwningDetailComReqDto = new QueryAchievementCopyrightOwningDetailComReqDto();
        queryAchievementCopyrightOwningDetailComReqDto.setSpaceId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecSpaceId());//CURRENT_SPACEID//sourceId:1937542_1
        if (reqDto != null) {
            queryAchievementCopyrightOwningDetailComReqDto.setAchievementId(reqDto.getAchievementId());//SimpleFieldAssign//sourceId:1937540_1
        }

        /*D3查询成果版权归属详情(公共)[9237]   */
        Assert.isNull(queryAchievementCopyrightOwningDetailComReqDto.getAchievementId(), "B3查询成果详情(管理)-D3查询成果版权归属详情(公共)-成果ID不能为空", false);
        Assert.isNull(queryAchievementCopyrightOwningDetailComReqDto.getSpaceId(), "B3查询成果详情(管理)-D3查询成果版权归属详情(公共)-创建于空间ID不能为空", false);
        queryAchievementCopyrightOwningDetailComRespDto = fwAppAchievementClient.queryAchievementCopyrightOwningDetailCom(queryAchievementCopyrightOwningDetailComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


        queryAchievementCopyrightOwningDetailComRespDto_1 = queryAchievementCopyrightOwningDetailComRespDto;

//步骤7: D1-3查询部门详情(公共)(边界) - queryDeptDetailComBorder
        QueryDeptDetailComBorderRespDto queryDeptDetailComBorderRespDto = null;
        if (queryAchievementCopyrightOwningDetailComRespDto != null) {
            QueryDeptDetailComBorderReqDto queryDeptDetailComBorderReqDto = new QueryDeptDetailComBorderReqDto();
            if (queryAchievementCopyrightOwningDetailComRespDto != null) {
                queryDeptDetailComBorderReqDto.setDeptId(queryAchievementCopyrightOwningDetailComRespDto.getDutyDeptId());//SimpleFieldAssign//sourceId:1947583_1
            }

            /*D1-3查询部门详情(公共)(边界)[2691]   */
            Assert.isNull(queryDeptDetailComBorderReqDto.getDeptId(), "B3查询成果详情(管理)-D1-3查询部门详情(公共)(边界)-部门ID不能为空", false);
            queryDeptDetailComBorderRespDto = fwBaseOrgClient.queryDeptDetailComBorder(queryDeptDetailComBorderReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


            queryDeptDetailComBorderRespDto_1 = queryDeptDetailComBorderRespDto;
        }

//步骤8: D2查询文档关系实例列表(公共) - queryUnstructuredRelationshipInstanceListCom
        QueryUnstructuredRelationshipInstanceListComRespDto queryUnstructuredRelationshipInstanceListComRespDto = null;
        QueryUnstructuredRelationshipInstanceListComReqDto queryUnstructuredRelationshipInstanceListComReqDto = new QueryUnstructuredRelationshipInstanceListComReqDto();
        queryUnstructuredRelationshipInstanceListComReqDto.setDocUseType("ACHIVEMENT_PIC");//sourceId:1957488_1
        queryUnstructuredRelationshipInstanceListComReqDto.setSpaceId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecSpaceId());//CURRENT_SPACEID//sourceId:1937768_1
        if (reqDto != null) {
            queryUnstructuredRelationshipInstanceListComReqDto.setOwnEntityId(reqDto.getAchievementId());//SimpleFieldAssign//sourceId:1937767_1
        }

        /*D2查询文档关系实例列表(公共)[8781]   */
        Assert.isNull(queryUnstructuredRelationshipInstanceListComReqDto.getDocUseType(), "B3查询成果详情(管理)-D2查询文档关系实例列表(公共)-文档用途类型不能为空", false);
        Assert.isNull(queryUnstructuredRelationshipInstanceListComReqDto.getOwnEntityId(), "B3查询成果详情(管理)-D2查询文档关系实例列表(公共)-归属内容表主键ID不能为空", false);
        Assert.isNull(queryUnstructuredRelationshipInstanceListComReqDto.getSpaceId(), "B3查询成果详情(管理)-D2查询文档关系实例列表(公共)-创建于空间ID不能为空", false);
        queryUnstructuredRelationshipInstanceListComRespDto = fwCompUnstructuredDataClient.queryUnstructuredRelationshipInstanceListCom(queryUnstructuredRelationshipInstanceListComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


        queryUnstructuredRelationshipInstanceListComRespDto_1 = queryUnstructuredRelationshipInstanceListComRespDto;

//步骤9: D3查询成果对接目标汇报任务列表(公共) - queryAchiveDockTargetReportTaskListCom
        QueryAchiveDockTargetReportTaskListComRespDto queryAchiveDockTargetReportTaskListComRespDto = null;
        QueryAchiveDockTargetReportTaskListComReqDto queryAchiveDockTargetReportTaskListComReqDto = new QueryAchiveDockTargetReportTaskListComReqDto();
        queryAchiveDockTargetReportTaskListComReqDto.setSpaceId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecSpaceId());//CURRENT_SPACEID//sourceId:1937701_1
        if (reqDto != null) {
            queryAchiveDockTargetReportTaskListComReqDto.setAchievementId(reqDto.getAchievementId());//SimpleFieldAssign//sourceId:1937698_1
            queryAchiveDockTargetReportTaskListComReqDto.setTargetCycleContentTypeCode(reqDto.getTargetCycleContentTypeCode());//SimpleFieldAssign//sourceId:1937699_1
            queryAchiveDockTargetReportTaskListComReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1937700_1
        }

        /*D3查询成果对接目标汇报任务列表(公共)[9968]   */
        Assert.isNull(queryAchiveDockTargetReportTaskListComReqDto.getAchievementId(), "B3查询成果详情(管理)-D3查询成果对接目标汇报任务列表(公共)-关联成果ID不能为空", false);
        Assert.isNull(queryAchiveDockTargetReportTaskListComReqDto.getSpaceId(), "B3查询成果详情(管理)-D3查询成果对接目标汇报任务列表(公共)-创建于空间ID不能为空", false);
        queryAchiveDockTargetReportTaskListComRespDto = fwAppAchievementDockClient.queryAchiveDockTargetReportTaskListCom(queryAchiveDockTargetReportTaskListComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


        queryAchiveDockTargetReportTaskListComRespDto_1 = queryAchiveDockTargetReportTaskListComRespDto;

//步骤10: D1-3查询就职记录详情(公共)(边界) - queryInductionRecordDetailComBorder
        QueryInductionRecordDetailComBorderRespDto queryInductionRecordDetailComBorderRespDto = null;
        if (queryAchievementDetailComRespDto != null) {
            QueryInductionRecordDetailComBorderReqDto queryInductionRecordDetailComBorderReqDto = new QueryInductionRecordDetailComBorderReqDto();
            queryInductionRecordDetailComBorderReqDto.setSpaceId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecSpaceId());//CURRENT_SPACEID//sourceId:1949124_1
            if (queryAchievementDetailComRespDto != null) {
                queryInductionRecordDetailComBorderReqDto.setInductionRecordId(queryAchievementDetailComRespDto.getOperationInductionId());//SimpleFieldAssign//sourceId:1949123_1
            }

            /*D1-3查询操作人就职记录详情(公共)(边界)[1340]   */
            Assert.isNull(queryInductionRecordDetailComBorderReqDto.getInductionRecordId(), "B3查询成果详情(管理)-D1-3查询操作人就职记录详情(公共)(边界)-就职记录ID不能为空", false);
            Assert.isNull(queryInductionRecordDetailComBorderReqDto.getSpaceId(), "B3查询成果详情(管理)-D1-3查询操作人就职记录详情(公共)(边界)-创建于空间ID不能为空", false);
            queryInductionRecordDetailComBorderRespDto = fwBaseInductionRecordClient.queryInductionRecordDetailComBorder(queryInductionRecordDetailComBorderReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


            queryInductionRecordDetailComBorderRespDto_1 = queryInductionRecordDetailComBorderRespDto;
        }

        BffQueryAchievementDetailRespDto retData = new BffQueryAchievementDetailRespDto();
        if (queryAchievementDetailComRespDto_1 != null) {
            retData.setAchievementId(queryAchievementDetailComRespDto_1.getAchievementId());//SimpleFieldAssign//sourceId:1694985_1
            retData.setAchievementTypeId(queryAchievementDetailComRespDto_1.getAchievementTypeId());//SimpleFieldAssign//sourceId:1694986_1
            retData.setAchievementTypeNumber(queryAchievementDetailComRespDto_1.getAchievementTypeNumber());//SimpleFieldAssign//sourceId:1694987_1
            retData.setAchievementCategoryId(queryAchievementDetailComRespDto_1.getAchievementCategoryId());//SimpleFieldAssign//sourceId:1694988_1
            retData.setAchievementCategoryNumber(queryAchievementDetailComRespDto_1.getAchievementCategoryNumber());//SimpleFieldAssign//sourceId:1694989_1
            retData.setAchievementGradeId(queryAchievementDetailComRespDto_1.getAchievementGradeId());//SimpleFieldAssign//sourceId:1694990_1
            retData.setAchievementGradeNumber(queryAchievementDetailComRespDto_1.getAchievementGradeNumber());//SimpleFieldAssign//sourceId:1694991_1
            retData.setAchievementBusinessGradeId(queryAchievementDetailComRespDto_1.getAchievementBusinessGradeId());//SimpleFieldAssign//sourceId:1887330_1
            retData.setAchievementBusinessGradeNumber(queryAchievementDetailComRespDto_1.getAchievementBusinessGradeNumber());//SimpleFieldAssign//sourceId:1887331_1
            retData.setCopyrightObjectTypeCode(queryAchievementDetailComRespDto_1.getCopyrightObjectTypeCode());//SimpleFieldAssign//sourceId:1694992_1
            retData.setAchiveLibraryType(queryAchievementDetailComRespDto_1.getAchiveLibraryType());//SimpleFieldAssign//sourceId:1936319_1
            retData.setAchivementStateCode(queryAchievementDetailComRespDto_1.getAchivementStateCode());//SimpleFieldAssign//sourceId:1936320_1
            retData.setIsUseConversion(queryAchievementDetailComRespDto_1.getIsUseConversion());//SimpleFieldAssign//sourceId:1694993_1
            retData.setIsSymbolicAchievements(queryAchievementDetailComRespDto_1.getIsSymbolicAchievements());//SimpleFieldAssign//sourceId:1694994_1
            retData.setAchievementNumber(queryAchievementDetailComRespDto_1.getAchievementNumber());//SimpleFieldAssign//sourceId:1694995_1
            retData.setAchievementName(queryAchievementDetailComRespDto_1.getAchievementName());//SimpleFieldAssign//sourceId:1694996_1
            retData.setAchievementDesc(queryAchievementDetailComRespDto_1.getAchievementDesc());//SimpleFieldAssign//sourceId:1954238_1
            retData.setAchievementAddDesc(queryAchievementDetailComRespDto_1.getAchievementAddDesc());//SimpleFieldAssign//sourceId:1694998_1
            retData.setAchievementConversiontDesc(queryAchievementDetailComRespDto_1.getAchievementConversiontDesc());//SimpleFieldAssign//sourceId:1694999_1
            retData.setDutyDeptId(queryAchievementDetailComRespDto_1.getDutyDeptId());//SimpleFieldAssign//sourceId:1953813_1
            retData.setAwardedUnit(queryAchievementDetailComRespDto_1.getAwardedUnit());//SimpleFieldAssign//sourceId:1695000_1
            retData.setRelatedDocument(queryAchievementDetailComRespDto_1.getRelatedDocument());//SimpleFieldAssign//sourceId:1695001_1
            retData.setAwardedTime(queryAchievementDetailComRespDto_1.getAwardedTime());//SimpleFieldAssign//sourceId:1695002_1
            retData.setValidEndTime(queryAchievementDetailComRespDto_1.getValidEndTime());//SimpleFieldAssign//sourceId:1695003_1
            retData.setSubjectLifeCycle(queryAchievementDetailComRespDto_1.getSubjectLifeCycle());//SimpleFieldAssign//sourceId:1695004_1
            retData.setCreateInductionId(queryAchievementDetailComRespDto_1.getCreateInductionId());//SimpleFieldAssign//sourceId:1695006_1
            retData.setOperationInductionId(queryAchievementDetailComRespDto_1.getOperationInductionId());//SimpleFieldAssign//sourceId:1695005_1
            retData.setCreateTime(queryAchievementDetailComRespDto_1.getCreateTime());//SimpleFieldAssign//sourceId:1695008_1
            retData.setOperateTime(queryAchievementDetailComRespDto_1.getOperateTime());//SimpleFieldAssign//sourceId:1695007_1
        }
        if (queryAchievementTypeDetailComRespDto_1 != null) {
            retData.setAchievementTypeName(queryAchievementTypeDetailComRespDto_1.getAchievementTypeName());//SimpleFieldAssign//sourceId:1785715_1
            retData.setBelongName(queryAchievementTypeDetailComRespDto_1.getBelongName());//SimpleFieldAssign//sourceId:1695009_1
        }
        if (queryAchievementCategoryDetailComRespDto_1 != null) {
            retData.setAchievementCategoryName(queryAchievementCategoryDetailComRespDto_1.getAchievementCategoryName());//SimpleFieldAssign//sourceId:1785745_1
        }
        if (queryAchievementGradeDetailComRespDto_1 != null) {
            retData.setAchievementGradeName(queryAchievementGradeDetailComRespDto_1.getAchievementGradeName());//SimpleFieldAssign//sourceId:1785746_1
        }
        if (queryAchievementGradeDetailComRespDto_3 != null) {
            retData.setAchievementBusinessGradeName(queryAchievementGradeDetailComRespDto_3.getAchievementGradeName());//SimpleFieldAssign//sourceId:1887332_1
        }
        if (queryDeptDetailComBorderRespDto_1 != null) {
            retData.setDeptShortName(queryDeptDetailComBorderRespDto_1.getDeptShortName());//SimpleFieldAssign//sourceId:1947599_1
        }
        if (queryAchievementCopyrightOwningDetailComRespDto_1 != null) {
            retData.setCopyrightObjectId(queryAchievementCopyrightOwningDetailComRespDto_1.getCopyrightObjectId());//SimpleFieldAssign//sourceId:1937550_1
            retData.setCopyrightObjectName(queryAchievementCopyrightOwningDetailComRespDto_1.getCopyrightObjectName());//SimpleFieldAssign//sourceId:1937551_1
        }
        if (queryInductionRecordDetailComBorderRespDto_1 != null) {
            retData.setOriginalRoleMemberId(queryInductionRecordDetailComBorderRespDto_1.getOriginalRoleMemberId());//SimpleFieldAssign//sourceId:1950587_1
            retData.setNickName(queryInductionRecordDetailComBorderRespDto_1.getNickName());//SimpleFieldAssign//sourceId:1949130_1
            retData.setIdCardName(queryInductionRecordDetailComBorderRespDto_1.getIdCardName());//SimpleFieldAssign//sourceId:1949129_1
            retData.setUserFace(queryInductionRecordDetailComBorderRespDto_1.getUserFace());//SimpleFieldAssign//sourceId:1949128_1

        }
        if (queryAchievementTeamMemberListComRespDto_1 != null) {
            retData.setAchievementTeamList(queryAchievementTeamMemberListComRespDto_1.getAchievementTeamList().stream().map(item -> BeanUtil.toBean(item, BffAchievementTeamDto.class)).collect(Collectors.toList()));//objList-to-objLists//sourceId:1785759_1
        }
        if (queryAchiveDockTargetReportTaskListComRespDto_1 != null) {
            retData.setAchievementDockingList(queryAchiveDockTargetReportTaskListComRespDto_1.getAchievementDockingList().stream().map(item -> BeanUtil.toBean(item, BffAchievementDockingDto.class)).collect(Collectors.toList()));//objList-to-objLists//sourceId:1937713_1
        }
        if (queryUnstructuredRelationshipInstanceListComRespDto_1 != null) {
            retData.setUnstructuredRelationshipList(queryUnstructuredRelationshipInstanceListComRespDto_1.getUnstructuredRelationshipList().stream().map(item -> BeanUtil.toBean(item, BffUnstructuredRelationshipDto.class)).collect(Collectors.toList()));//objList-to-objLists//sourceId:1937778_1
        }


        return retData;
    }

    /**
     * B3新增成果团队成员(管理)[9222]
     * gen by moon at 4/4/2024, 10:24:18 AM
     */
    @Trace(operationName = "B3新增成果团队成员(管理)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Override
    public BffAddAchievementTeamMemberRespDto addAchievementTeamMember(BffAddAchievementTeamMemberReqDto reqDto) {


        AddOutcomeTeamMembBusinessHandleComRespDto addOutcomeTeamMembBusinessHandleComRespDto_1 = null;
//步骤0: D3新增成果团队成员业务处理(公共) - addOutcomeTeamMembBusinessHandleCom
        AddOutcomeTeamMembBusinessHandleComRespDto addOutcomeTeamMembBusinessHandleComRespDto = null;
        AddOutcomeTeamMembBusinessHandleComReqDto addOutcomeTeamMembBusinessHandleComReqDto = new AddOutcomeTeamMembBusinessHandleComReqDto();
        addOutcomeTeamMembBusinessHandleComReqDto.setSubjectLifeCycle("EDITING");//sourceId:1695227_1
        addOutcomeTeamMembBusinessHandleComReqDto.setSpaceId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecSpaceId());//CURRENT_SPACEID//sourceId:1695228_1
        if (reqDto != null) {
            addOutcomeTeamMembBusinessHandleComReqDto.setAchievementId(reqDto.getAchievementId());//SimpleFieldAssign//sourceId:1695220_1
            addOutcomeTeamMembBusinessHandleComReqDto.setIsManualCreate(reqDto.getIsManualCreate());//SimpleFieldAssign//sourceId:1695221_1
            addOutcomeTeamMembBusinessHandleComReqDto.setInductionRecordId(reqDto.getInductionRecordId());//SimpleFieldAssign//sourceId:1695222_1
            addOutcomeTeamMembBusinessHandleComReqDto.setOriginalRoleMemberId(reqDto.getOriginalRoleMemberId());//SimpleFieldAssign//sourceId:1695223_1
            addOutcomeTeamMembBusinessHandleComReqDto.setUserId(reqDto.getUserId());//SimpleFieldAssign//sourceId:1695224_1
            addOutcomeTeamMembBusinessHandleComReqDto.setAchievementMemberName(reqDto.getAchievementMemberName());//SimpleFieldAssign//sourceId:1695225_1
            addOutcomeTeamMembBusinessHandleComReqDto.setAchievementMemberNumber(reqDto.getAchievementMemberNumber());//SimpleFieldAssign//sourceId:1695226_1
        }

        /*D3新增成果团队成员业务处理(公共)[9221]   */
        Assert.isNull(addOutcomeTeamMembBusinessHandleComReqDto.getAchievementId(), "B3新增成果团队成员(管理)-D3新增成果团队成员业务处理(公共)-成果ID不能为空", false);
        Assert.isNull(addOutcomeTeamMembBusinessHandleComReqDto.getIsManualCreate(), "B3新增成果团队成员(管理)-D3新增成果团队成员业务处理(公共)-是否人工输入不能为空", false);
        Assert.isNull(addOutcomeTeamMembBusinessHandleComReqDto.getAchievementMemberName(), "B3新增成果团队成员(管理)-D3新增成果团队成员业务处理(公共)-成果团队成员名称不能为空", false);
        Assert.isNull(addOutcomeTeamMembBusinessHandleComReqDto.getAchievementMemberNumber(), "B3新增成果团队成员(管理)-D3新增成果团队成员业务处理(公共)-成果团队成员编号不能为空", false);
        Assert.isNull(addOutcomeTeamMembBusinessHandleComReqDto.getSubjectLifeCycle(), "B3新增成果团队成员(管理)-D3新增成果团队成员业务处理(公共)-主体生命周期不能为空", false);
        Assert.isNull(addOutcomeTeamMembBusinessHandleComReqDto.getSpaceId(), "B3新增成果团队成员(管理)-D3新增成果团队成员业务处理(公共)-创建于空间ID不能为空", false);
        addOutcomeTeamMembBusinessHandleComRespDto = fwAppAchievementClient.addOutcomeTeamMembBusinessHandleCom(addOutcomeTeamMembBusinessHandleComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


        addOutcomeTeamMembBusinessHandleComRespDto_1 = addOutcomeTeamMembBusinessHandleComRespDto;

        BffAddAchievementTeamMemberRespDto retData = new BffAddAchievementTeamMemberRespDto();
        if (addOutcomeTeamMembBusinessHandleComRespDto_1 != null) {
            retData.setAchievementTeamMemberId(addOutcomeTeamMembBusinessHandleComRespDto_1.getAchievementTeamMemberId());//SimpleFieldAssign//sourceId:1695236_1
        }


        return retData;
    }

    /**
     * B3执行成果发布(管理)[9242]
     * gen by moon at 4/4/2024, 10:24:26 AM
     */
    @Trace(operationName = "B3执行成果发布(管理)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Override
    public BffImplementAchievementPublishRespDto implementAchievementPublish(BffImplementAchievementPublishReqDto reqDto) {


        //步骤0: D3执行成果发布(公共) - implementAchievementPublishCom
        ImplementAchievementPublishComRespDto implementAchievementPublishComRespDto = null;
        ImplementAchievementPublishComReqDto implementAchievementPublishComReqDto = new ImplementAchievementPublishComReqDto();
        if (reqDto != null) {
            implementAchievementPublishComReqDto.setAchievementId(reqDto.getAchievementId());//SimpleFieldAssign//sourceId:1695242_1
        }

        /*D3执行成果发布(公共)[9230]   */
        Assert.isNull(implementAchievementPublishComReqDto.getAchievementId(), "B3执行成果发布(管理)-D3执行成果发布(公共)-成果ID不能为空", false);
        implementAchievementPublishComRespDto = fwAppAchievementClient.implementAchievementPublishCom(implementAchievementPublishComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


        BffImplementAchievementPublishRespDto retData = new BffImplementAchievementPublishRespDto();


        return retData;
    }

    /**
     * B3查询成果类型列表(边界)[9256]
     * gen by moon at 4/4/2024, 1:40:17 PM
     */
    @Trace(operationName = "B3查询成果类型列表(边界)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Override
    public BffQueryAchievementTypeListBorderRespDto queryAchievementTypeListBorder(BffQueryAchievementTypeListBorderReqDto reqDto) {


        QueryAchievementTypeListComRespDto queryAchievementTypeListComRespDto_1 = null;
//步骤0: D3查询成果类型列表(公共) - queryAchievementTypeListCom
        QueryAchievementTypeListComRespDto queryAchievementTypeListComRespDto = null;
        QueryAchievementTypeListComReqDto queryAchievementTypeListComReqDto = new QueryAchievementTypeListComReqDto();
        queryAchievementTypeListComReqDto.setSubjectLifeCycle("CURRENTLY_VALID");//sourceId:1695850_1
        queryAchievementTypeListComReqDto.setSpaceId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecSpaceId());//CURRENT_SPACEID//sourceId:1695851_1

        /*D3查询成果类型列表(公共)[9163]   */
        Assert.isNull(queryAchievementTypeListComReqDto.getSubjectLifeCycle(), "B3查询成果类型列表(边界)-D3查询成果类型列表(公共)-主体生命周期不能为空", false);
        Assert.isNull(queryAchievementTypeListComReqDto.getSpaceId(), "B3查询成果类型列表(边界)-D3查询成果类型列表(公共)-创建于空间ID不能为空", false);
        queryAchievementTypeListComRespDto = fwAppAchievementClient.queryAchievementTypeListCom(queryAchievementTypeListComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


        queryAchievementTypeListComRespDto_1 = queryAchievementTypeListComRespDto;

        BffQueryAchievementTypeListBorderRespDto retData = new BffQueryAchievementTypeListBorderRespDto();
        if (queryAchievementTypeListComRespDto_1 != null) {
            retData.setAchievementTypeList(queryAchievementTypeListComRespDto_1.getAchievementTypeList().stream().map(item -> BeanUtil.toBean(item, BffAchievementTypeDto.class)).collect(Collectors.toList()));//objList-to-objLists//sourceId:1695862_1
        }


        return retData;
    }

    /**
     * B3查询成果类别列表(边界)[9257]
     * gen by moon at 4/4/2024, 1:40:24 PM
     */
    @Trace(operationName = "B3查询成果类别列表(边界)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Override
    public BffQueryAchievementCategoryListBorderRespDto queryAchievementCategoryListBorder(BffQueryAchievementCategoryListBorderReqDto reqDto) {


        QueryAchievementCategoryListComRespDto queryAchievementCategoryListComRespDto_1 = null;
//步骤0: D3查询成果类别列表(公共) - queryAchievementCategoryListCom
        QueryAchievementCategoryListComRespDto queryAchievementCategoryListComRespDto = null;
        QueryAchievementCategoryListComReqDto queryAchievementCategoryListComReqDto = new QueryAchievementCategoryListComReqDto();
        queryAchievementCategoryListComReqDto.setSubjectLifeCycle("CURRENTLY_VALID");//sourceId:1695857_1
        queryAchievementCategoryListComReqDto.setSpaceId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecSpaceId());//CURRENT_SPACEID//sourceId:1695858_1
        if (reqDto != null) {
            queryAchievementCategoryListComReqDto.setAchievementTypeId(reqDto.getAchievementTypeId());//SimpleFieldAssign//sourceId:1695854_1
        }

        /*D3查询成果类别列表(公共)[9175]   */
        Assert.isNull(queryAchievementCategoryListComReqDto.getAchievementTypeId(), "B3查询成果类别列表(边界)-D3查询成果类别列表(公共)-关联成果类型ID不能为空", false);
        Assert.isNull(queryAchievementCategoryListComReqDto.getSubjectLifeCycle(), "B3查询成果类别列表(边界)-D3查询成果类别列表(公共)-主体生命周期不能为空", false);
        Assert.isNull(queryAchievementCategoryListComReqDto.getSpaceId(), "B3查询成果类别列表(边界)-D3查询成果类别列表(公共)-创建于空间ID不能为空", false);
        queryAchievementCategoryListComRespDto = fwAppAchievementClient.queryAchievementCategoryListCom(queryAchievementCategoryListComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


        queryAchievementCategoryListComRespDto_1 = queryAchievementCategoryListComRespDto;

        BffQueryAchievementCategoryListBorderRespDto retData = new BffQueryAchievementCategoryListBorderRespDto();
        if (queryAchievementCategoryListComRespDto_1 != null) {
            retData.setAchievementCategoryList(queryAchievementCategoryListComRespDto_1.getAchievementCategoryList().stream().map(item -> BeanUtil.toBean(item, BffAchievementCategoryDto.class)).collect(Collectors.toList()));//objList-to-objLists//sourceId:1695861_1
        }


        return retData;
    }

    /**
     * B3查询成果类型等级关系列表(边界)[9258]
     * gen by moon at 4/4/2024, 1:40:30 PM
     */
    @Trace(operationName = "B3查询成果类型等级关系列表(边界)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Override
    public BffQueryAchievementTypeGradeRelationshipListBorderRespDto queryAchievementTypeGradeRelationshipListBorder(BffQueryAchievementTypeGradeRelationshipListBorderReqDto reqDto) {


        QueryAchievementTypeGradeRelationshipListRespDto queryAchievementTypeGradeRelationshipListRespDto_1 = null;
//步骤0: D3查询成果类型等级关系列表 - queryAchievementTypeGradeRelationshipList
        QueryAchievementTypeGradeRelationshipListRespDto queryAchievementTypeGradeRelationshipListRespDto = null;
        QueryAchievementTypeGradeRelationshipListReqDto queryAchievementTypeGradeRelationshipListReqDto = new QueryAchievementTypeGradeRelationshipListReqDto();
        queryAchievementTypeGradeRelationshipListReqDto.setSubjectLifeCycle("CURRENTLY_VALID");//sourceId:1695869_1
        if (reqDto != null) {
            queryAchievementTypeGradeRelationshipListReqDto.setAchievementTypeId(reqDto.getAchievementTypeId());//SimpleFieldAssign//sourceId:1695866_1
        }

        /*D3查询成果类型等级关系列表[9165]   */
        Assert.isNull(queryAchievementTypeGradeRelationshipListReqDto.getAchievementTypeId(), "B3查询成果类型等级关系列表(边界)-D3查询成果类型等级关系列表-成果类型ID不能为空", false);
        Assert.isNull(queryAchievementTypeGradeRelationshipListReqDto.getSubjectLifeCycle(), "B3查询成果类型等级关系列表(边界)-D3查询成果类型等级关系列表-主体生命周期不能为空", false);
        queryAchievementTypeGradeRelationshipListRespDto = fwAppAchievementClient.queryAchievementTypeGradeRelationshipList(queryAchievementTypeGradeRelationshipListReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


        queryAchievementTypeGradeRelationshipListRespDto_1 = queryAchievementTypeGradeRelationshipListRespDto;

        BffQueryAchievementTypeGradeRelationshipListBorderRespDto retData = new BffQueryAchievementTypeGradeRelationshipListBorderRespDto();
        if (queryAchievementTypeGradeRelationshipListRespDto_1 != null) {
            retData.setAchievementTypeGradeRelationshipList(queryAchievementTypeGradeRelationshipListRespDto_1.getAchievementGradeList().stream().map(item -> BeanUtil.toBean(item, BffAchievementTypeGradeRelationshipDto.class)).collect(Collectors.toList()));//objList-to-objLists//sourceId:1695871_1
        }


        return retData;
    }

    /**
     * B3批量改成果团队成员排序(管理)[9234]
     * gen by moon at 4/5/2024, 9:23:11 PM
     */
    @Trace(operationName = "B3批量改成果团队成员排序(管理)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Override
    public BffBatchUpdateAchievementTeamMemberSortRespDto batchUpdateAchievementTeamMemberSort(BffBatchUpdateAchievementTeamMemberSortReqDto reqDto) {


        //步骤0: D3批量改成果团队成员排序(公共) - batchUpdateAchievementTeamMemberSortCom
        BatchUpdateAchievementTeamMemberSortComRespDto batchUpdateAchievementTeamMemberSortComRespDto = null;
        BatchUpdateAchievementTeamMemberSortComReqDto batchUpdateAchievementTeamMemberSortComReqDto = new BatchUpdateAchievementTeamMemberSortComReqDto();
        batchUpdateAchievementTeamMemberSortComReqDto.setSpaceId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecSpaceId());//CURRENT_SPACEID//sourceId:1696145_1
        if (reqDto != null && reqDto.getAchievementTeamList() != null && !CollectionUtil.isEmpty(reqDto.getAchievementTeamList())) {
            batchUpdateAchievementTeamMemberSortComReqDto.setAchievementTeamList(reqDto.getAchievementTeamList().stream().map(item -> BeanUtil.toBean(item, AchievementTeamDto.class)).collect(Collectors.toList()));//objList-to-objLists//sourceId:1695108_1
        }
        if (reqDto != null) {
            batchUpdateAchievementTeamMemberSortComReqDto.setAchievementId(reqDto.getAchievementId());//SimpleFieldAssign//sourceId:1696144_1
        }

        /*D3批量改成果团队成员排序(公共)[9232]   */
        Assert.isNull(batchUpdateAchievementTeamMemberSortComReqDto.getAchievementId(), "B3批量改成果团队成员排序(管理)-D3批量改成果团队成员排序(公共)-成果ID不能为空", false);
        Assert.isNull(batchUpdateAchievementTeamMemberSortComReqDto.getSpaceId(), "B3批量改成果团队成员排序(管理)-D3批量改成果团队成员排序(公共)-创建于空间ID不能为空", false);
        batchUpdateAchievementTeamMemberSortComRespDto = fwAppAchievementClient.batchUpdateAchievementTeamMemberSortCom(batchUpdateAchievementTeamMemberSortComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


        BffBatchUpdateAchievementTeamMemberSortRespDto retData = new BffBatchUpdateAchievementTeamMemberSortRespDto();


        return retData;
    }

    /**
     * B3删除对接成果关系[9314]
     * gen by moon at 4/6/2024, 11:34:28 AM
     */
    @Trace(operationName = "B3删除对接成果关系")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Override
    public BffDeleteAchievementDockingRespDto deleteAchievementDocking(BffDeleteAchievementDockingReqDto reqDto) {


        //步骤0: D3删除对接成果关系业务处理(公共) - deleteAchievementDockingBusinessHandleCom
        DeleteAchievementDockingBusinessHandleComRespDto deleteAchievementDockingBusinessHandleComRespDto = null;
        DeleteAchievementDockingBusinessHandleComReqDto deleteAchievementDockingBusinessHandleComReqDto = new DeleteAchievementDockingBusinessHandleComReqDto();
        if (reqDto != null) {
            deleteAchievementDockingBusinessHandleComReqDto.setAchievementDockingId(reqDto.getAchievementDockingId());//SimpleFieldAssign//sourceId:1703803_1
        }

        /*D3删除对接成果关系业务处理(公共)[9310]   */
        Assert.isNull(deleteAchievementDockingBusinessHandleComReqDto.getAchievementDockingId(), "B3删除对接成果关系-D3删除对接成果关系业务处理(公共)-对接成果关系ID不能为空", false);
        deleteAchievementDockingBusinessHandleComRespDto = fwAppAchievementClient.deleteAchievementDockingBusinessHandleCom(deleteAchievementDockingBusinessHandleComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


        BffDeleteAchievementDockingRespDto retData = new BffDeleteAchievementDockingRespDto();


        return retData;
    }

    /**
     * B3查询可对接成果列表[9343]
     * gen by moon at 9/19/2024, 3:11:35 PM
     */
    @Trace(operationName = "B3查询可对接成果列表")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Override
    public BffQueryCanDockAchievementListRespDto queryCanDockAchievementList(BffQueryCanDockAchievementListReqDto reqDto) {


        BatchQueryAchievementInfoComRespDto batchQueryAchievementInfoComRespDto_1 = null;
//virtualUsage D3查询可对接成果列表(公共)  72169
        QueryCanDockAchievementListComRespDto queryCanDockAchievementListComRespDto = null;
        QueryCanDockAchievementListComReqDto queryCanDockAchievementListComReqDto = new QueryCanDockAchievementListComReqDto();
        queryCanDockAchievementListComReqDto.setSpaceId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecSpaceId());//CURRENT_SPACEID//sourceId:1709169_1_72169
        if (reqDto != null) {
            queryCanDockAchievementListComReqDto.setDockAchievementSence(reqDto.getDockAchievementSence());//SimpleFieldAssign//sourceId:1709167_1_72169
            queryCanDockAchievementListComReqDto.setOriginalRoleMemberId(reqDto.getOriginalRoleMemberId());//SimpleFieldAssign//sourceId:1709168_1_72169
            queryCanDockAchievementListComReqDto.setObjectiveId(reqDto.getObjectiveId());//SimpleFieldAssign//sourceId:1709170_1_72169
            queryCanDockAchievementListComReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1709171_1_72169
        }

        /*D3查询可对接成果列表(公共)[9316]   */
        Assert.isNull(queryCanDockAchievementListComReqDto.getDockAchievementSence(), "B3查询可对接成果列表-D3查询可对接成果列表(公共)-对接成果场景不能为空", false);
        Assert.isNull(queryCanDockAchievementListComReqDto.getOriginalRoleMemberId(), "B3查询可对接成果列表-D3查询可对接成果列表(公共)-身份人员ID不能为空", false);
        Assert.isNull(queryCanDockAchievementListComReqDto.getObjectiveId(), "B3查询可对接成果列表-D3查询可对接成果列表(公共)-指标ID不能为空", false);
        Assert.isNull(queryCanDockAchievementListComReqDto.getEvaluationTemplateId(), "B3查询可对接成果列表-D3查询可对接成果列表(公共)-冗余评价模板ID不能为空", false);
        Assert.isNull(queryCanDockAchievementListComReqDto.getSpaceId(), "B3查询可对接成果列表-D3查询可对接成果列表(公共)-创建于空间ID不能为空", false);
        queryCanDockAchievementListComRespDto = fwAppAchievementClient.queryCanDockAchievementListCom(queryCanDockAchievementListComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


//virtualUsage D3查询已对接成果关系列表(公共)  72170
        QueryAchievementDockingListComRespDto queryAchievementDockingListComRespDto = null;
        QueryAchievementDockingListComReqDto queryAchievementDockingListComReqDto = new QueryAchievementDockingListComReqDto();
        queryAchievementDockingListComReqDto.setIsArchive("FALSE");//sourceId:1970867_1_72170
        queryAchievementDockingListComReqDto.setSpaceId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecSpaceId());//CURRENT_SPACEID//sourceId:1970868_1_72170
        if (reqDto != null) {
            queryAchievementDockingListComReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:2006577_1_72170
        }

        /*D3查询已对接成果关系列表(公共)[9146]   */
        Assert.isNull(queryAchievementDockingListComReqDto.getEvaluationTemplateId(), "B3查询可对接成果列表-D3查询已对接成果关系列表(公共)-归属评价模板ID不能为空", false);
        Assert.isNull(queryAchievementDockingListComReqDto.getIsArchive(), "B3查询可对接成果列表-D3查询已对接成果关系列表(公共)-是否存档不能为空", false);
        Assert.isNull(queryAchievementDockingListComReqDto.getSpaceId(), "B3查询可对接成果列表-D3查询已对接成果关系列表(公共)-创建于空间ID不能为空", false);
        queryAchievementDockingListComRespDto = fwAppAchievementClient.queryAchievementDockingListCom(queryAchievementDockingListComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


//virtualUsage D2执行两数据集去除已存在(公共)  72171
        ImplementTwoDataRemovalExistsComRespDto implementTwoDataRemovalExistsComRespDto = null;
        if (queryCanDockAchievementListComRespDto != null && queryAchievementDockingListComRespDto != null) {
            ImplementTwoDataRemovalExistsComReqDto implementTwoDataRemovalExistsComReqDto = new ImplementTwoDataRemovalExistsComReqDto();
            if (queryCanDockAchievementListComRespDto != null) {
                //simpleList-to-objLists
                for (String item : queryCanDockAchievementListComRespDto.getAchievementList()) {
                    com.wicket.okrcomponent.integration.dto.DataSetsListOneDto oneItem = new com.wicket.okrcomponent.integration.dto.DataSetsListOneDto();
                    if (queryCanDockAchievementListComRespDto != null) {
                        oneItem.setCustomField(item);//SimpleFieldAssign//sourceId:407512_2_72171
                    }

                    implementTwoDataRemovalExistsComReqDto.getDataSetsListOne().add(oneItem);
                }//sourceId:1970863_1_72171
            }
            if (queryAchievementDockingListComRespDto != null && queryAchievementDockingListComRespDto.getAchievementDockingList() != null && !CollectionUtil.isEmpty(queryAchievementDockingListComRespDto.getAchievementDockingList())) {
                implementTwoDataRemovalExistsComReqDto.setDataSetsListTwo(//objList-to-objLists
                        queryAchievementDockingListComRespDto.getAchievementDockingList().stream().map(item -> {
                            DataSetsListTwoDto elm = new DataSetsListTwoDto();
                            if (item != null) {
                                elm.setCustomField(item.getAchievementId());//SimpleFieldAssign//sourceId:407517_2_72171
                            }
                            return elm;
                        }).collect(Collectors.toList()));//objList-to-objLists//sourceId:1970864_1_72171
            }

            /*D2执行两数据集去除已存在(公共)[5347]   */

            implementTwoDataRemovalExistsComRespDto = fwCompInterfaceModeClient.implementTwoDataRemovalExistsCom(implementTwoDataRemovalExistsComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


        }
        if ((implementTwoDataRemovalExistsComRespDto != null && implementTwoDataRemovalExistsComRespDto.getTwoDataRemovalExistsList() != null && implementTwoDataRemovalExistsComRespDto.getTwoDataRemovalExistsList().size() > 0)) {
            //if(D2将可对接的成果列表去除已经对接的成果列表.两数据集去除已存在列表数据集条数 大于 0)  72172

            BatchQueryAchievementInfoComRespDto batchQueryAchievementInfoComRespDto = null;
            if (implementTwoDataRemovalExistsComRespDto != null) {
                BatchQueryAchievementInfoComReqDto batchQueryAchievementInfoComReqDto = new BatchQueryAchievementInfoComReqDto();
                batchQueryAchievementInfoComReqDto.setSpaceId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecSpaceId());//CURRENT_SPACEID//sourceId:1709174_1_72173
                if (implementTwoDataRemovalExistsComRespDto != null && implementTwoDataRemovalExistsComRespDto.getTwoDataRemovalExistsList() != null && !CollectionUtil.isEmpty(implementTwoDataRemovalExistsComRespDto.getTwoDataRemovalExistsList())) {
                    batchQueryAchievementInfoComReqDto.setAchievementList(implementTwoDataRemovalExistsComRespDto.getTwoDataRemovalExistsList().stream().map(item -> item.getCustomField())
                            .collect(Collectors.toList()));/*list-to-strings*///sourceId:1709173_1_72173
                }
                if (reqDto != null) {
                    batchQueryAchievementInfoComReqDto.setAchievementName(reqDto.getAchievementName());//SimpleFieldAssign//sourceId:1939213_1_72173
                    batchQueryAchievementInfoComReqDto.setAchievementTypeId(reqDto.getAchievementTypeId());//SimpleFieldAssign//sourceId:1939214_1_72173
                    batchQueryAchievementInfoComReqDto.setAchievementGradeId(reqDto.getAchievementGradeId());//SimpleFieldAssign//sourceId:1939215_1_72173
                }

                /*D3批量查询成果分页信息(公共)[9317]   */
                Assert.isNull(batchQueryAchievementInfoComReqDto.getSpaceId(), "B3查询可对接成果列表-D3批量查询成果分页信息(公共)-创建于空间ID不能为空", false);
                batchQueryAchievementInfoComRespDto = fwAppAchievementClient.batchQueryAchievementInfoCom(batchQueryAchievementInfoComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


                batchQueryAchievementInfoComRespDto_1 = batchQueryAchievementInfoComRespDto;
            }
        }
        BffQueryCanDockAchievementListRespDto retData = new BffQueryCanDockAchievementListRespDto();
        if (batchQueryAchievementInfoComRespDto_1 != null) {
            retData.setAchievementList(batchQueryAchievementInfoComRespDto_1.getAchievementList().stream().map(item -> BeanUtil.toBean(item, BffAchievementDto.class)).collect(Collectors.toList()));//objList-to-objLists//sourceId:1785766_1
        }


        retData.setPageNum(queryCanDockAchievementListComRespDto.getPageNum());
        retData.setPageSize(queryCanDockAchievementListComRespDto.getPageSize());
        retData.setTotal(queryCanDockAchievementListComRespDto.getTotalNum());
        retData.setIsLastPage((Math.ceil(Double.valueOf(queryCanDockAchievementListComRespDto.getTotalNum()) / Double.valueOf(queryCanDockAchievementListComRespDto.getPageSize()))) <= retData.getPageNum());


        return retData;
    }

    /**
     * B3查询对接成果关系列表[9318]
     * gen by moon at 8/15/2024, 7:23:46 PM
     */
    @Trace(operationName = "B3查询对接成果关系列表")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Override
    public BffQueryAchievementDockingListRespDto queryAchievementDockingList(BffQueryAchievementDockingListReqDto reqDto) {


        QueryAchievementDockingListComRespDto queryAchievementDockingListComRespDto_1 = null;
        BatchQueryAchievementRelevantInfoComRespDto batchQueryAchievementRelevantInfoComRespDto_1 = null;
//步骤0: D3查询对接成果关系列表(公共) - queryAchievementDockingListCom
        QueryAchievementDockingListComRespDto queryAchievementDockingListComRespDto = null;
        QueryAchievementDockingListComReqDto queryAchievementDockingListComReqDto = new QueryAchievementDockingListComReqDto();
        queryAchievementDockingListComReqDto.setSubjectLifeCycle("CURRENTLY_VALID");//sourceId:1704502_1
        queryAchievementDockingListComReqDto.setSpaceId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecSpaceId());//CURRENT_SPACEID//sourceId:1704503_1
        if (reqDto != null) {
            queryAchievementDockingListComReqDto.setCycleStageDataId(reqDto.getCycleStageDataId());//SimpleFieldAssign//sourceId:1704492_1
            queryAchievementDockingListComReqDto.setAchievementTypeId(reqDto.getAchievementTypeId());//SimpleFieldAssign//sourceId:1938162_1
            queryAchievementDockingListComReqDto.setAchievementCategoryId(reqDto.getAchievementCategoryId());//SimpleFieldAssign//sourceId:1938163_1
            queryAchievementDockingListComReqDto.setAchievementGradeId(reqDto.getAchievementGradeId());//SimpleFieldAssign//sourceId:1938164_1
            queryAchievementDockingListComReqDto.setIsSymbolicAchievement(reqDto.getIsSymbolicAchievement());//SimpleFieldAssign//sourceId:1938165_1
            queryAchievementDockingListComReqDto.setCopyrightObjectTypeCode(reqDto.getCopyrightObjectTypeCode());//SimpleFieldAssign//sourceId:1938166_1
            queryAchievementDockingListComReqDto.setCopyrightObjectId(reqDto.getCopyrightObjectId());//SimpleFieldAssign//sourceId:1938167_1
            queryAchievementDockingListComReqDto.setDutyDeptId(reqDto.getDutyDeptId());//SimpleFieldAssign//sourceId:1938168_1
            queryAchievementDockingListComReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1938169_1
            queryAchievementDockingListComReqDto.setEvaluationSubjectId(reqDto.getEvaluationSubjectId());//SimpleFieldAssign//sourceId:1938170_1
        }

        /*D3查询对接成果关系列表(公共)[9146]   */
        Assert.isNull(queryAchievementDockingListComReqDto.getSubjectLifeCycle(), "B3查询对接成果关系列表-D3查询对接成果关系列表(公共)-主体生命周期不能为空", false);
        Assert.isNull(queryAchievementDockingListComReqDto.getSpaceId(), "B3查询对接成果关系列表-D3查询对接成果关系列表(公共)-创建于空间ID不能为空", false);
        queryAchievementDockingListComRespDto = fwAppAchievementClient.queryAchievementDockingListCom(queryAchievementDockingListComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


        queryAchievementDockingListComRespDto_1 = queryAchievementDockingListComRespDto;

//步骤1: D3批量查询成果及相关信息(公共) - batchQueryAchievementRelevantInfoCom
        BatchQueryAchievementRelevantInfoComRespDto batchQueryAchievementRelevantInfoComRespDto = null;
        if (queryAchievementDockingListComRespDto != null) {
            BatchQueryAchievementRelevantInfoComReqDto batchQueryAchievementRelevantInfoComReqDto = new BatchQueryAchievementRelevantInfoComReqDto();
            batchQueryAchievementRelevantInfoComReqDto.setSpaceId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecSpaceId());//CURRENT_SPACEID//sourceId:1970820_1
            if (queryAchievementDockingListComRespDto != null && queryAchievementDockingListComRespDto.getAchievementDockingList() != null && !CollectionUtil.isEmpty(queryAchievementDockingListComRespDto.getAchievementDockingList())) {
                batchQueryAchievementRelevantInfoComReqDto.setAchievementList(queryAchievementDockingListComRespDto.getAchievementDockingList().stream().map(item -> item.getAchievementId())
                        .collect(Collectors.toList()));/*list-to-strings*///sourceId:1970821_1
            }
            if (reqDto != null) {
                batchQueryAchievementRelevantInfoComReqDto.setAchievementName(reqDto.getAchievementName());//SimpleFieldAssign//sourceId:1970811_1
                batchQueryAchievementRelevantInfoComReqDto.setIsUseConversion(reqDto.getIsUseConversion());//SimpleFieldAssign//sourceId:1970812_1
                batchQueryAchievementRelevantInfoComReqDto.setIsSymbolicAchievement(reqDto.getIsSymbolicAchievement());//SimpleFieldAssign//sourceId:1970813_1
                batchQueryAchievementRelevantInfoComReqDto.setAchivementStateCode(reqDto.getAchivementStateCode());//SimpleFieldAssign//sourceId:1970814_1
                batchQueryAchievementRelevantInfoComReqDto.setAchievementBusinessGradeId(reqDto.getAchievementBusinessGradeId());//SimpleFieldAssign//sourceId:1970824_1
            }

            /*D3批量查询成果及相关信息(公共)[10096]   */
            Assert.isNull(batchQueryAchievementRelevantInfoComReqDto.getSpaceId(), "B3查询对接成果关系列表-D3批量查询成果及相关信息(公共)-创建于空间ID不能为空", false);
            batchQueryAchievementRelevantInfoComRespDto = fwAppAchievementClient.batchQueryAchievementRelevantInfoCom(batchQueryAchievementRelevantInfoComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


            batchQueryAchievementRelevantInfoComRespDto_1 = batchQueryAchievementRelevantInfoComRespDto;
        }

        BffQueryAchievementDockingListRespDto retData = new BffQueryAchievementDockingListRespDto();
        //数据集融合  MoreListToOneSource
        if (queryAchievementDockingListComRespDto_1 != null && !CollectionUtil.isEmpty(queryAchievementDockingListComRespDto_1.getAchievementDockingList())) {
            for (AchievementDockingDto achievementDockingDto : queryAchievementDockingListComRespDto_1.getAchievementDockingList()) {
                BffAchievementDockingDto retElm = new BffAchievementDockingDto();
                if (queryAchievementDockingListComRespDto_1 != null) {
                    retElm.setAchievementDockingId(achievementDockingDto.getAchievementDockingId());//SimpleFieldAssign//sourceId:407451_2
                    retElm.setDutyDeptId(achievementDockingDto.getDutyDeptId());//SimpleFieldAssign//sourceId:407452_2
                    retElm.setDutyDeptName(achievementDockingDto.getDutyDeptName());//SimpleFieldAssign//sourceId:407453_2
                }
                retData.getAchievementDockingList().add(retElm);
                if (batchQueryAchievementRelevantInfoComRespDto_1 != null) {
                    for (AchievementDto achievementDto : batchQueryAchievementRelevantInfoComRespDto_1.getAchievementList()) {
                        if (achievementDto.getAchievementId().equals(achievementDockingDto.getAchievementId())) {
                            if (batchQueryAchievementRelevantInfoComRespDto_1 != null) {
                                retElm.setAchievementId(achievementDto.getAchievementId());//SimpleFieldAssign//sourceId:407454_2
                                retElm.setAchievementNumber(achievementDto.getAchievementNumber());//SimpleFieldAssign//sourceId:407455_2
                                retElm.setAchievementName(achievementDto.getAchievementName());//SimpleFieldAssign//sourceId:407456_2
                                retElm.setRelatedDocument(achievementDto.getRelatedDocument());//SimpleFieldAssign//sourceId:407457_2
                                retElm.setAwardedUnit(achievementDto.getAwardedUnit());//SimpleFieldAssign//sourceId:407458_2
                                retElm.setAwardedTime(achievementDto.getAwardedTime());//SimpleFieldAssign//sourceId:407459_2
                                retElm.setValidEndTime(achievementDto.getValidEndTime());//SimpleFieldAssign//sourceId:407460_2
                                retElm.setAchievementTypeId(achievementDto.getAchievementTypeId());//SimpleFieldAssign//sourceId:407461_2
                                retElm.setAchievementTypeNumber(achievementDto.getAchievementTypeNumber());//SimpleFieldAssign//sourceId:407462_2
                                retElm.setAchievementTypeName(achievementDto.getAchievementTypeName());//SimpleFieldAssign//sourceId:407463_2
                                retElm.setAchievementCategoryId(achievementDto.getAchievementCategoryId());//SimpleFieldAssign//sourceId:407464_2
                                retElm.setAchievementCategoryNumber(achievementDto.getAchievementCategoryNumber());//SimpleFieldAssign//sourceId:407465_2
                                retElm.setAchievementCategoryName(achievementDto.getAchievementCategoryName());//SimpleFieldAssign//sourceId:407466_2
                                retElm.setAchievementGradeId(achievementDto.getAchievementGradeId());//SimpleFieldAssign//sourceId:407467_2
                                retElm.setAchievementGradeNumber(achievementDto.getAchievementGradeNumber());//SimpleFieldAssign//sourceId:407468_2
                                retElm.setAchievementGradeName(achievementDto.getAchievementGradeName());//SimpleFieldAssign//sourceId:407469_2
                                retElm.setAchievementBusinessGradeId(achievementDto.getAchievementBusinessGradeId());//SimpleFieldAssign//sourceId:407470_2
                                retElm.setAchievementBusinessGradeNumber(achievementDto.getAchievementBusinessGradeNumber());//SimpleFieldAssign//sourceId:407471_2
                                retElm.setAchievementBusinessGradeName(achievementDto.getAchievementBusinessGradeName());//SimpleFieldAssign//sourceId:407472_2
                                retElm.setIsSymbolicAchievements(achievementDto.getIsSymbolicAchievements());//SimpleFieldAssign//sourceId:407473_2
                                retElm.setCopyrightObjectId(achievementDto.getCopyrightObjectId());//SimpleFieldAssign//sourceId:407474_2
                                retElm.setCopyrightObjectTypeCode(achievementDto.getCopyrightObjectTypeCode());//SimpleFieldAssign//sourceId:407475_2
                                retElm.setCopyrightObjectName(achievementDto.getCopyrightObjectName());//SimpleFieldAssign//sourceId:407476_2
                                retElm.setBelongName(achievementDto.getBelongName());//SimpleFieldAssign//sourceId:407477_2
                            }
                        }
                    }
                }

            }
        }//sourceId:1970823_1


        retData.setPageNum(queryAchievementDockingListComRespDto.getPageNum());
        retData.setPageSize(queryAchievementDockingListComRespDto.getPageSize());
        retData.setTotal(queryAchievementDockingListComRespDto.getTotalNum());
        retData.setIsLastPage((Math.ceil(Double.valueOf(queryAchievementDockingListComRespDto.getTotalNum()) / Double.valueOf(queryAchievementDockingListComRespDto.getPageSize()))) <= retData.getPageNum());


        return retData;
    }

    /**
     * B3查询目标下个人标志性成果列表[9570]
     * gen by moon at 7/19/2024, 12:15:51 AM
     */
    @Trace(operationName = "B3查询目标下个人标志性成果列表")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Override
    public BffQueryPersonalSymbolicAchievementsListRespDto queryPersonalSymbolicAchievementsList(BffQueryPersonalSymbolicAchievementsListReqDto reqDto) {


        QueryPersonalSymbolicAchievementsListComRespDto queryPersonalSymbolicAchievementsListComRespDto_1 = null;
//步骤0: D3查询个人标志性成果列表(公共) - queryPersonalSymbolicAchievementsListCom
        QueryPersonalSymbolicAchievementsListComRespDto queryPersonalSymbolicAchievementsListComRespDto = null;
        QueryPersonalSymbolicAchievementsListComReqDto queryPersonalSymbolicAchievementsListComReqDto = new QueryPersonalSymbolicAchievementsListComReqDto();
        if (reqDto != null) {
            queryPersonalSymbolicAchievementsListComReqDto.setOriginalRoleMemberId(reqDto.getOriginalRoleMemberId());//SimpleFieldAssign//sourceId:1937707_1
            queryPersonalSymbolicAchievementsListComReqDto.setTableTypeCode(reqDto.getTableTypeCode());//SimpleFieldAssign//sourceId:1937708_1
            queryPersonalSymbolicAchievementsListComReqDto.setAchievementName(reqDto.getAchievementName());//SimpleFieldAssign//sourceId:1937669_1
            queryPersonalSymbolicAchievementsListComReqDto.setAchievementTypeId(reqDto.getAchievementTypeId());//SimpleFieldAssign//sourceId:1937670_1
            queryPersonalSymbolicAchievementsListComReqDto.setAchievementCategoryId(reqDto.getAchievementCategoryId());//SimpleFieldAssign//sourceId:1937671_1
            queryPersonalSymbolicAchievementsListComReqDto.setAchievementGradeId(reqDto.getAchievementGradeId());//SimpleFieldAssign//sourceId:1937672_1
            queryPersonalSymbolicAchievementsListComReqDto.setAchievementBusinessGradeId(reqDto.getAchievementBusinessGradeId());//SimpleFieldAssign//sourceId:1937673_1
            queryPersonalSymbolicAchievementsListComReqDto.setAchiveLibraryType(reqDto.getAchiveLibraryType());//SimpleFieldAssign//sourceId:1937674_1
            queryPersonalSymbolicAchievementsListComReqDto.setAchivementStateCode(reqDto.getAchivementStateCode());//SimpleFieldAssign//sourceId:1937675_1
            queryPersonalSymbolicAchievementsListComReqDto.setIsUseConversion(reqDto.getIsUseConversion());//SimpleFieldAssign//sourceId:1937676_1
            queryPersonalSymbolicAchievementsListComReqDto.setIsSymbolicAchievements(reqDto.getIsSymbolicAchievements());//SimpleFieldAssign//sourceId:1937677_1
            queryPersonalSymbolicAchievementsListComReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1794532_1
        }

        /*D3查询个人标志性成果列表(公共)[9569]   */
        Assert.isNull(queryPersonalSymbolicAchievementsListComReqDto.getOriginalRoleMemberId(), "B3查询目标下个人标志性成果列表-D3查询个人标志性成果列表(公共)-身份人员ID不能为空", false);
        queryPersonalSymbolicAchievementsListComRespDto = fwAppAchievementClient.queryPersonalSymbolicAchievementsListCom(queryPersonalSymbolicAchievementsListComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


        queryPersonalSymbolicAchievementsListComRespDto_1 = queryPersonalSymbolicAchievementsListComRespDto;

        BffQueryPersonalSymbolicAchievementsListRespDto retData = new BffQueryPersonalSymbolicAchievementsListRespDto();
        if (queryPersonalSymbolicAchievementsListComRespDto_1 != null) {
            retData.setAchievementList(queryPersonalSymbolicAchievementsListComRespDto_1.getAchievementList().stream().map(item -> BeanUtil.toBean(item, BffAchievementDto.class)).collect(Collectors.toList()));//objList-to-objLists//sourceId:1794535_1
        }


        return retData;
    }

    /**
     * B3删除成果类型等级关系(管理)[9199]
     * gen by moon at 6/15/2024, 5:20:02 PM
     */
    @Trace(operationName = "B3删除成果类型等级关系(管理)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Override
    public BffDeleteAchievementTypeGradeRelationshipRespDto deleteAchievementTypeGradeRelationship(BffDeleteAchievementTypeGradeRelationshipReqDto reqDto) {


        //步骤0: D3删除成果类型等级关系业务处理 - deleteAchievementTypeGradeRelationshipBusinessHandle
        DeleteAchievementTypeGradeRelationshipBusinessHandleRespDto deleteAchievementTypeGradeRelationshipBusinessHandleRespDto = null;
        DeleteAchievementTypeGradeRelationshipBusinessHandleReqDto deleteAchievementTypeGradeRelationshipBusinessHandleReqDto = new DeleteAchievementTypeGradeRelationshipBusinessHandleReqDto();
        if (reqDto != null) {
            deleteAchievementTypeGradeRelationshipBusinessHandleReqDto.setTypeGradeRelationshipId(reqDto.getTypeGradeRelationshipId());//SimpleFieldAssign//sourceId:1693464_1
        }

        /*D3删除成果类型等级关系业务处理[9200]   */
        Assert.isNull(deleteAchievementTypeGradeRelationshipBusinessHandleReqDto.getTypeGradeRelationshipId(), "B3删除成果类型等级关系(管理)-D3删除成果类型等级关系业务处理-成果类型等级关系ID不能为空", false);
        deleteAchievementTypeGradeRelationshipBusinessHandleRespDto = fwAppAchievementClient.deleteAchievementTypeGradeRelationshipBusinessHandle(deleteAchievementTypeGradeRelationshipBusinessHandleReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


        BffDeleteAchievementTypeGradeRelationshipRespDto retData = new BffDeleteAchievementTypeGradeRelationshipRespDto();


        return retData;
    }

    /**
     * B3修改成果冗余状态[9967]
     * gen by moon at 7/18/2024, 9:14:43 PM
     */
    @Trace(operationName = "B3修改成果冗余状态")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Override
    public BffUpdateAchiveStateCodeRespDto updateAchiveStateCode(BffUpdateAchiveStateCodeReqDto reqDto) {


        //步骤0: D3修改成果冗余状态(公共) - updateAchiveStateCodeCom
        UpdateAchiveStateCodeComRespDto updateAchiveStateCodeComRespDto = null;
        UpdateAchiveStateCodeComReqDto updateAchiveStateCodeComReqDto = new UpdateAchiveStateCodeComReqDto();
        updateAchiveStateCodeComReqDto.setSpaceId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecSpaceId());//CURRENT_SPACEID//sourceId:1936728_1
        if (reqDto != null) {
            updateAchiveStateCodeComReqDto.setAchievementId(reqDto.getAchievementId());//SimpleFieldAssign//sourceId:1936726_1
            updateAchiveStateCodeComReqDto.setAchiveOperateType(reqDto.getAchiveOperateType());//SimpleFieldAssign//sourceId:1936727_1
        }

        /*D3修改成果冗余状态(公共)[9966]   */
        Assert.isNull(updateAchiveStateCodeComReqDto.getAchievementId(), "B3修改成果冗余状态-D3修改成果冗余状态(公共)-成果ID不能为空", false);
        Assert.isNull(updateAchiveStateCodeComReqDto.getAchiveOperateType(), "B3修改成果冗余状态-D3修改成果冗余状态(公共)-成果操作类型不能为空", false);
        Assert.isNull(updateAchiveStateCodeComReqDto.getSpaceId(), "B3修改成果冗余状态-D3修改成果冗余状态(公共)-创建于空间ID不能为空", false);
        updateAchiveStateCodeComRespDto = fwAppAchievementClient.updateAchiveStateCodeCom(updateAchiveStateCodeComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


        BffUpdateAchiveStateCodeRespDto retData = new BffUpdateAchiveStateCodeRespDto();


        return retData;
    }

    /**
     * B3查询成果列表[9969]
     * gen by moon at 7/19/2024, 12:16:01 AM
     */
    @Trace(operationName = "B3查询成果列表")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Override
    public BffQueryAchievementListRespDto queryAchievementList(BffQueryAchievementListReqDto reqDto) {


        QueryAchievementListComRespDto queryAchievementListComRespDto_1 = null;
//步骤0: D3查询成果列表(公共) - queryAchievementListCom
        QueryAchievementListComRespDto queryAchievementListComRespDto = null;
        QueryAchievementListComReqDto queryAchievementListComReqDto = new QueryAchievementListComReqDto();
        queryAchievementListComReqDto.setSpaceId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecSpaceId());//CURRENT_SPACEID//sourceId:1937740_1
        if (reqDto != null) {
            queryAchievementListComReqDto.setAchievementName(reqDto.getAchievementName());//SimpleFieldAssign//sourceId:1937726_1
            queryAchievementListComReqDto.setAchievementTypeId(reqDto.getAchievementTypeId());//SimpleFieldAssign//sourceId:1937727_1
            queryAchievementListComReqDto.setAchievementCategoryId(reqDto.getAchievementCategoryId());//SimpleFieldAssign//sourceId:1937729_1
            queryAchievementListComReqDto.setAchievementGradeId(reqDto.getAchievementGradeId());//SimpleFieldAssign//sourceId:1937731_1
            queryAchievementListComReqDto.setAchievementBusinessGradeId(reqDto.getAchievementBusinessGradeId());//SimpleFieldAssign//sourceId:1937743_1
            queryAchievementListComReqDto.setAchiveLibraryType(reqDto.getAchiveLibraryType());//SimpleFieldAssign//sourceId:1937745_1
            queryAchievementListComReqDto.setCopyrightObjectTypeCode(reqDto.getCopyrightObjectTypeCode());//SimpleFieldAssign//sourceId:1937733_1
            queryAchievementListComReqDto.setAchivementStateCode(reqDto.getAchivementStateCode());//SimpleFieldAssign//sourceId:1937742_1
            queryAchievementListComReqDto.setIsUseConversion(reqDto.getIsUseConversion());//SimpleFieldAssign//sourceId:1937734_1
            queryAchievementListComReqDto.setIsSymbolicAchievements(reqDto.getIsSymbolicAchievements());//SimpleFieldAssign//sourceId:1937735_1
            queryAchievementListComReqDto.setDutyDeptId(reqDto.getDutyDeptId());//SimpleFieldAssign//sourceId:1937746_1
        }

        /*D3查询成果列表(公共)[9214]   */
        Assert.isNull(queryAchievementListComReqDto.getSpaceId(), "B3查询成果列表-D3查询成果列表(公共)-创建于空间ID不能为空", false);
        queryAchievementListComRespDto = fwAppAchievementClient.queryAchievementListCom(queryAchievementListComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


        queryAchievementListComRespDto_1 = queryAchievementListComRespDto;

        BffQueryAchievementListRespDto retData = new BffQueryAchievementListRespDto();
        if (queryAchievementListComRespDto_1 != null) {
            retData.setAchievementList(queryAchievementListComRespDto_1.getAchievementList().stream().map(item -> BeanUtil.toBean(item, BffAchievementDto.class)).collect(Collectors.toList()));//objList-to-objLists//sourceId:1937777_1
        }


        return retData;
    }

    /**
     * B3查询个人成果库列表[9971]
     * gen by moon at 7/19/2024, 12:16:11 AM
     */
    @Trace(operationName = "B3查询个人成果库列表")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Override
    public BffQueryPersonalAchievementsListRespDto queryPersonalAchievementsList(BffQueryPersonalAchievementsListReqDto reqDto) {


        QueryPersonalAchievementsListComRespDto queryPersonalAchievementsListComRespDto_1 = null;
        BatchQueryOneLevelDeptComRespDto batchQueryOneLevelDeptComRespDto_1 = null;
//步骤0: D3查询个人成果库列表(公共) - queryPersonalAchievementsListCom
        QueryPersonalAchievementsListComRespDto queryPersonalAchievementsListComRespDto = null;
        QueryPersonalAchievementsListComReqDto queryPersonalAchievementsListComReqDto = new QueryPersonalAchievementsListComReqDto();
        queryPersonalAchievementsListComReqDto.setSpaceId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecSpaceId());//CURRENT_SPACEID//sourceId:1938264_1
        if (reqDto != null) {
            queryPersonalAchievementsListComReqDto.setOriginalRoleMemberId(reqDto.getOriginalRoleMemberId());//SimpleFieldAssign//sourceId:1938263_1
            queryPersonalAchievementsListComReqDto.setAchievementName(reqDto.getAchievementName());//SimpleFieldAssign//sourceId:1938265_1
            queryPersonalAchievementsListComReqDto.setAchievementTypeId(reqDto.getAchievementTypeId());//SimpleFieldAssign//sourceId:1938266_1
            queryPersonalAchievementsListComReqDto.setAchievementCategoryId(reqDto.getAchievementCategoryId());//SimpleFieldAssign//sourceId:1938267_1
            queryPersonalAchievementsListComReqDto.setAchievementGradeId(reqDto.getAchievementGradeId());//SimpleFieldAssign//sourceId:1938268_1
            queryPersonalAchievementsListComReqDto.setAchievementBusinessGradeId(reqDto.getAchievementBusinessGradeId());//SimpleFieldAssign//sourceId:1938269_1
            queryPersonalAchievementsListComReqDto.setAchiveLibraryType(reqDto.getAchiveLibraryType());//SimpleFieldAssign//sourceId:1938270_1
            queryPersonalAchievementsListComReqDto.setAchivementStateCode(reqDto.getAchivementStateCode());//SimpleFieldAssign//sourceId:1938273_1
            queryPersonalAchievementsListComReqDto.setIsUseConversion(reqDto.getIsUseConversion());//SimpleFieldAssign//sourceId:1938271_1
            queryPersonalAchievementsListComReqDto.setIsSymbolicAchievements(reqDto.getIsSymbolicAchievements());//SimpleFieldAssign//sourceId:1938272_1
        }

        /*D3查询个人成果库列表(公共)[9970]   */
        Assert.isNull(queryPersonalAchievementsListComReqDto.getOriginalRoleMemberId(), "B3查询个人成果库列表-D3查询个人成果库列表(公共)-身份人员ID不能为空", false);
        Assert.isNull(queryPersonalAchievementsListComReqDto.getSpaceId(), "B3查询个人成果库列表-D3查询个人成果库列表(公共)-创建于空间ID不能为空", false);
        queryPersonalAchievementsListComRespDto = fwAppAchievementClient.queryPersonalAchievementsListCom(queryPersonalAchievementsListComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


        queryPersonalAchievementsListComRespDto_1 = queryPersonalAchievementsListComRespDto;

//步骤1: D1-3批量查询一级部门(公共) - batchQueryOneLevelDeptCom
        BatchQueryOneLevelDeptComRespDto batchQueryOneLevelDeptComRespDto = null;
        if (queryPersonalAchievementsListComRespDto != null) {
            BatchQueryOneLevelDeptComReqDto batchQueryOneLevelDeptComReqDto = new BatchQueryOneLevelDeptComReqDto();
            if (queryPersonalAchievementsListComRespDto != null && queryPersonalAchievementsListComRespDto.getAchievementList() != null && !CollectionUtil.isEmpty(queryPersonalAchievementsListComRespDto.getAchievementList())) {
                batchQueryOneLevelDeptComReqDto.setDeptList(queryPersonalAchievementsListComRespDto.getAchievementList().stream().map(item -> item.getDutyDeptId())
                        .collect(Collectors.toList()));/*list-to-strings*///sourceId:1938295_1
            }

            /*D1-3批量查询一级部门(公共)[4025]   */

            batchQueryOneLevelDeptComRespDto = fwBaseOrgClient.batchQueryOneLevelDeptCom(batchQueryOneLevelDeptComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


            batchQueryOneLevelDeptComRespDto_1 = batchQueryOneLevelDeptComRespDto;
        }

        BffQueryPersonalAchievementsListRespDto retData = new BffQueryPersonalAchievementsListRespDto();
        //数据集融合  MoreListToOneSource
        if (queryPersonalAchievementsListComRespDto_1 != null && !CollectionUtil.isEmpty(queryPersonalAchievementsListComRespDto_1.getAchievementList())) {
            for (AchievementDto achievementDto : queryPersonalAchievementsListComRespDto_1.getAchievementList()) {
                BffAchievementDto retElm = new BffAchievementDto();
                if (queryPersonalAchievementsListComRespDto_1 != null) {
                    retElm.setAchievementId(achievementDto.getAchievementId());//SimpleFieldAssign//sourceId:395563_2
                    retElm.setAchievementNumber(achievementDto.getAchievementNumber());//SimpleFieldAssign//sourceId:395564_2
                    retElm.setAchievementName(achievementDto.getAchievementName());//SimpleFieldAssign//sourceId:395565_2
                    retElm.setRelatedDocument(achievementDto.getRelatedDocument());//SimpleFieldAssign//sourceId:395566_2
                    retElm.setAwardedUnit(achievementDto.getAwardedUnit());//SimpleFieldAssign//sourceId:395567_2
                    retElm.setAwardedTime(achievementDto.getAwardedTime());//SimpleFieldAssign//sourceId:395568_2
                    retElm.setValidEndTime(achievementDto.getValidEndTime());//SimpleFieldAssign//sourceId:395569_2
                    retElm.setIsSymbolicAchievements(achievementDto.getIsSymbolicAchievements());//SimpleFieldAssign//sourceId:395570_2
                    retElm.setAchievementTypeId(achievementDto.getAchievementTypeId());//SimpleFieldAssign//sourceId:395571_2
                    retElm.setAchievementTypeNumber(achievementDto.getAchievementTypeNumber());//SimpleFieldAssign//sourceId:395572_2
                    retElm.setAchievementTypeName(achievementDto.getAchievementTypeName());//SimpleFieldAssign//sourceId:395573_2
                    retElm.setAchievementCategoryId(achievementDto.getAchievementCategoryId());//SimpleFieldAssign//sourceId:395574_2
                    retElm.setAchievementCategoryNumber(achievementDto.getAchievementCategoryNumber());//SimpleFieldAssign//sourceId:395575_2
                    retElm.setAchievementCategoryName(achievementDto.getAchievementCategoryName());//SimpleFieldAssign//sourceId:395576_2
                    retElm.setAchievementGradeId(achievementDto.getAchievementGradeId());//SimpleFieldAssign//sourceId:395577_2
                    retElm.setAchievementGradeNumber(achievementDto.getAchievementGradeNumber());//SimpleFieldAssign//sourceId:395578_2
                    retElm.setAchievementGradeName(achievementDto.getAchievementGradeName());//SimpleFieldAssign//sourceId:395579_2
                    retElm.setAchievementBusinessGradeId(achievementDto.getAchievementBusinessGradeId());//SimpleFieldAssign//sourceId:395580_2
                    retElm.setAchievementBusinessGradeNumber(achievementDto.getAchievementBusinessGradeNumber());//SimpleFieldAssign//sourceId:395581_2
                    retElm.setAchievementBusinessGradeName(achievementDto.getAchievementBusinessGradeName());//SimpleFieldAssign//sourceId:395582_2
                    retElm.setBelongName(achievementDto.getBelongName());//SimpleFieldAssign//sourceId:395583_2
                    retElm.setCopyrightObjectName(achievementDto.getCopyrightObjectName());//SimpleFieldAssign//sourceId:395584_2
                    retElm.setDutyDeptId(achievementDto.getDutyDeptId());//SimpleFieldAssign//sourceId:395585_2
                }
                retData.getAchievementList().add(retElm);
                if (batchQueryOneLevelDeptComRespDto_1 != null) {
                    for (DeptDto deptDto : batchQueryOneLevelDeptComRespDto_1.getDeptList()) {
                        if (deptDto.getDeptId().equals(achievementDto.getDutyDeptId())) {
                            if (batchQueryOneLevelDeptComRespDto_1 != null) {
                                retElm.setDeptShortName(deptDto.getDeptShortName());//SimpleFieldAssign//sourceId:395586_2
                            }
                        }
                    }
                }

            }
        }//sourceId:1938297_1


        return retData;
    }

    /**
     * B3删除成果业务处理[9973]
     * gen by moon at 7/19/2024, 5:45:59 PM
     */
    @Trace(operationName = "B3删除成果业务处理")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Override
    public BffDeleteAchievementBusinessHandleRespDto deleteAchievementBusinessHandle(BffDeleteAchievementBusinessHandleReqDto reqDto) {


        //步骤0: D3删除成果业务处理(公共) - deleteAchievementBusinessHandleCom
        DeleteAchievementBusinessHandleComRespDto deleteAchievementBusinessHandleComRespDto = null;
        DeleteAchievementBusinessHandleComReqDto deleteAchievementBusinessHandleComReqDto = new DeleteAchievementBusinessHandleComReqDto();
        deleteAchievementBusinessHandleComReqDto.setSpaceId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecSpaceId());//CURRENT_SPACEID//sourceId:1938714_1
        if (reqDto != null) {
            deleteAchievementBusinessHandleComReqDto.setAchievementId(reqDto.getAchievementId());//SimpleFieldAssign//sourceId:1938713_1
        }

        /*D3删除成果业务处理(公共)[9238]   */
        Assert.isNull(deleteAchievementBusinessHandleComReqDto.getAchievementId(), "B3删除成果业务处理-D3删除成果业务处理(公共)-成果ID不能为空", false);
        Assert.isNull(deleteAchievementBusinessHandleComReqDto.getSpaceId(), "B3删除成果业务处理-D3删除成果业务处理(公共)-创建于空间ID不能为空", false);
        deleteAchievementBusinessHandleComRespDto = fwAppAchievementClient.deleteAchievementBusinessHandleCom(deleteAchievementBusinessHandleComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


        BffDeleteAchievementBusinessHandleRespDto retData = new BffDeleteAchievementBusinessHandleRespDto();


        return retData;
    }

    /**
     * B3删除目标下成果[9975]
     * gen by moon at 7/19/2024, 5:46:08 PM
     */
    @Trace(operationName = "B3删除目标下成果")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Override
    public BffDeleteResultsUnderTargetRespDto deleteResultsUnderTarget(BffDeleteResultsUnderTargetReqDto reqDto) {


        //步骤0: D3删除目标下成果(公共) - deleteResultsUnderTargetCom
        DeleteResultsUnderTargetComRespDto deleteResultsUnderTargetComRespDto = null;
        DeleteResultsUnderTargetComReqDto deleteResultsUnderTargetComReqDto = new DeleteResultsUnderTargetComReqDto();
        if (reqDto != null) {
            deleteResultsUnderTargetComReqDto.setAchievementId(reqDto.getAchievementId());//SimpleFieldAssign//sourceId:1938910_1
            deleteResultsUnderTargetComReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1938911_1
        }

        /*D3删除目标下成果(公共)[9974]   */
        Assert.isNull(deleteResultsUnderTargetComReqDto.getAchievementId(), "B3删除目标下成果-D3删除目标下成果(公共)-关联成果ID不能为空", false);
        Assert.isNull(deleteResultsUnderTargetComReqDto.getEvaluationTemplateId(), "B3删除目标下成果-D3删除目标下成果(公共)-归属评价模板ID不能为空", false);
        deleteResultsUnderTargetComRespDto = fwAppAchievementClient.deleteResultsUnderTargetCom(deleteResultsUnderTargetComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


        BffDeleteResultsUnderTargetRespDto retData = new BffDeleteResultsUnderTargetRespDto();


        return retData;
    }

    /**
     * B3新增目标下汇报成果[9992]
     * gen by moon at 7/22/2024, 10:22:04 PM
     */
    @Trace(operationName = "B3新增目标下汇报成果")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Override
    public BffAddResultsUnderTargetRespDto addResultsUnderTarget(BffAddResultsUnderTargetReqDto reqDto) {


        //步骤0: D3新增目标下汇报成果(公共) - addResultsUnderTargetCom
        AddResultsUnderTargetComRespDto addResultsUnderTargetComRespDto = null;
        AddResultsUnderTargetComReqDto addResultsUnderTargetComReqDto = new AddResultsUnderTargetComReqDto();
        if (reqDto != null) {
            addResultsUnderTargetComReqDto.setAchievementTypeId(reqDto.getAchievementTypeId());//SimpleFieldAssign//sourceId:1943886_1
            addResultsUnderTargetComReqDto.setAchievementTypeNumber(reqDto.getAchievementTypeNumber());//SimpleFieldAssign//sourceId:1943887_1
            addResultsUnderTargetComReqDto.setAchievementCategoryId(reqDto.getAchievementCategoryId());//SimpleFieldAssign//sourceId:1943888_1
            addResultsUnderTargetComReqDto.setAchievementCategoryNumber(reqDto.getAchievementCategoryNumber());//SimpleFieldAssign//sourceId:1943889_1
            addResultsUnderTargetComReqDto.setAchievementGradeId(reqDto.getAchievementGradeId());//SimpleFieldAssign//sourceId:1943890_1
            addResultsUnderTargetComReqDto.setAchievementGradeNumber(reqDto.getAchievementGradeNumber());//SimpleFieldAssign//sourceId:1943891_1
            addResultsUnderTargetComReqDto.setAchievementBusinessGradeId(reqDto.getAchievementBusinessGradeId());//SimpleFieldAssign//sourceId:1943892_1
            addResultsUnderTargetComReqDto.setAchievementBusinessGradeNumber(reqDto.getAchievementBusinessGradeNumber());//SimpleFieldAssign//sourceId:1943893_1
            addResultsUnderTargetComReqDto.setAchiveLibraryType(reqDto.getAchiveLibraryType());//SimpleFieldAssign//sourceId:1943894_1
            addResultsUnderTargetComReqDto.setCopyrightObjectTypeCode(reqDto.getCopyrightObjectTypeCode());//SimpleFieldAssign//sourceId:1943895_1
            addResultsUnderTargetComReqDto.setCopyrightObjectName(reqDto.getCopyrightObjectName());//SimpleFieldAssign//sourceId:1943896_1
            addResultsUnderTargetComReqDto.setCopyrightObjectId(reqDto.getCopyrightObjectId());//SimpleFieldAssign//sourceId:1943897_1
            addResultsUnderTargetComReqDto.setIsUseConversion(reqDto.getIsUseConversion());//SimpleFieldAssign//sourceId:1943898_1
            addResultsUnderTargetComReqDto.setIsSymbolicAchievements(reqDto.getIsSymbolicAchievements());//SimpleFieldAssign//sourceId:1943899_1
            addResultsUnderTargetComReqDto.setAchievementNumber(reqDto.getAchievementNumber());//SimpleFieldAssign//sourceId:1943900_1
            addResultsUnderTargetComReqDto.setAchievementName(reqDto.getAchievementName());//SimpleFieldAssign//sourceId:1943901_1
            addResultsUnderTargetComReqDto.setAchievementDesc(reqDto.getAchievementDesc());//SimpleFieldAssign//sourceId:1943902_1
            addResultsUnderTargetComReqDto.setAchievementAddDesc(reqDto.getAchievementAddDesc());//SimpleFieldAssign//sourceId:1943903_1
            addResultsUnderTargetComReqDto.setRelatedDocument(reqDto.getRelatedDocument());//SimpleFieldAssign//sourceId:1943904_1
            addResultsUnderTargetComReqDto.setAwardedUnit(reqDto.getAwardedUnit());//SimpleFieldAssign//sourceId:1943905_1
            addResultsUnderTargetComReqDto.setAwardedTime(reqDto.getAwardedTime());//SimpleFieldAssign//sourceId:1943906_1
            addResultsUnderTargetComReqDto.setValidEndTime(reqDto.getValidEndTime());//SimpleFieldAssign//sourceId:1943907_1
            addResultsUnderTargetComReqDto.setDutyDeptId(reqDto.getDutyDeptId());//SimpleFieldAssign//sourceId:1943909_1
            addResultsUnderTargetComReqDto.setCycleStageDataId(reqDto.getCycleStageDataId());//SimpleFieldAssign//sourceId:1943910_1
            addResultsUnderTargetComReqDto.setUpdateCycleId(reqDto.getUpdateCycleId());//SimpleFieldAssign//sourceId:1943911_1
            addResultsUnderTargetComReqDto.setCycleTypeCode(reqDto.getCycleTypeCode());//SimpleFieldAssign//sourceId:1943912_1
            addResultsUnderTargetComReqDto.setEvaObjTargetCycleId(reqDto.getEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:1943913_1
            addResultsUnderTargetComReqDto.setTargetCycleContentTypeCode(reqDto.getTargetCycleContentTypeCode());//SimpleFieldAssign//sourceId:1943914_1
            addResultsUnderTargetComReqDto.setTargetCycleContentId(reqDto.getTargetCycleContentId());//SimpleFieldAssign//sourceId:1943915_1
            addResultsUnderTargetComReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1943916_1
        }
        if (reqDto != null && reqDto.getDocumentList() != null && !CollectionUtil.isEmpty(reqDto.getDocumentList())) {
            addResultsUnderTargetComReqDto.setDocumentList(reqDto.getDocumentList().stream().map(item -> BeanUtil.toBean(item, DocumentDto.class)).collect(Collectors.toList()));//objList-to-objLists//sourceId:1947777_1
        }

        /*D3新增目标下汇报成果(公共)[9993]   */
        Assert.isNull(addResultsUnderTargetComReqDto.getAchievementTypeId(), "B3新增目标下汇报成果-D3新增目标下汇报成果(公共)-成果类型ID不能为空", false);
        Assert.isNull(addResultsUnderTargetComReqDto.getAchievementTypeNumber(), "B3新增目标下汇报成果-D3新增目标下汇报成果(公共)-成果类型编号不能为空", false);
        Assert.isNull(addResultsUnderTargetComReqDto.getAchiveLibraryType(), "B3新增目标下汇报成果-D3新增目标下汇报成果(公共)-成果库类型不能为空", false);
        Assert.isNull(addResultsUnderTargetComReqDto.getCopyrightObjectTypeCode(), "B3新增目标下汇报成果-D3新增目标下汇报成果(公共)-版权归属对象类型编码不能为空", false);
        Assert.isNull(addResultsUnderTargetComReqDto.getCopyrightObjectName(), "B3新增目标下汇报成果-D3新增目标下汇报成果(公共)-版权归属对象名称不能为空", false);
        Assert.isNull(addResultsUnderTargetComReqDto.getCopyrightObjectId(), "B3新增目标下汇报成果-D3新增目标下汇报成果(公共)-版权归属对象ID不能为空", false);
        Assert.isNull(addResultsUnderTargetComReqDto.getIsUseConversion(), "B3新增目标下汇报成果-D3新增目标下汇报成果(公共)-是否开启转化成果不能为空", false);
        Assert.isNull(addResultsUnderTargetComReqDto.getIsSymbolicAchievements(), "B3新增目标下汇报成果-D3新增目标下汇报成果(公共)-是否标志性成果不能为空", false);
        Assert.isNull(addResultsUnderTargetComReqDto.getAchievementNumber(), "B3新增目标下汇报成果-D3新增目标下汇报成果(公共)-成果编号不能为空", false);
        Assert.isNull(addResultsUnderTargetComReqDto.getAchievementName(), "B3新增目标下汇报成果-D3新增目标下汇报成果(公共)-成果名称不能为空", false);
        Assert.isNull(addResultsUnderTargetComReqDto.getAwardedTime(), "B3新增目标下汇报成果-D3新增目标下汇报成果(公共)-授予时间不能为空", false);
        Assert.isNull(addResultsUnderTargetComReqDto.getDutyDeptId(), "B3新增目标下汇报成果-D3新增目标下汇报成果(公共)-业绩责任部门ID不能为空", false);
        Assert.isNull(addResultsUnderTargetComReqDto.getCycleStageDataId(), "B3新增目标下汇报成果-D3新增目标下汇报成果(公共)-归属周期阶段资料ID不能为空", false);
        Assert.isNull(addResultsUnderTargetComReqDto.getUpdateCycleId(), "B3新增目标下汇报成果-D3新增目标下汇报成果(公共)-更新周期ID不能为空", false);
        Assert.isNull(addResultsUnderTargetComReqDto.getCycleTypeCode(), "B3新增目标下汇报成果-D3新增目标下汇报成果(公共)-周期类型标识不能为空", false);
        Assert.isNull(addResultsUnderTargetComReqDto.getEvaObjTargetCycleId(), "B3新增目标下汇报成果-D3新增目标下汇报成果(公共)-归属子周期被评对象目标周期ID不能为空", false);
        Assert.isNull(addResultsUnderTargetComReqDto.getTargetCycleContentTypeCode(), "B3新增目标下汇报成果-D3新增目标下汇报成果(公共)-归属目标内容类型编码不能为空", false);
        Assert.isNull(addResultsUnderTargetComReqDto.getTargetCycleContentId(), "B3新增目标下汇报成果-D3新增目标下汇报成果(公共)-归属目标内容ID不能为空", false);
        Assert.isNull(addResultsUnderTargetComReqDto.getEvaluationTemplateId(), "B3新增目标下汇报成果-D3新增目标下汇报成果(公共)-归属评价模板ID不能为空", false);
        addResultsUnderTargetComRespDto = fwAppAchievementClient.addResultsUnderTargetCom(addResultsUnderTargetComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


        BffAddResultsUnderTargetRespDto retData = new BffAddResultsUnderTargetRespDto();


        return retData;
    }
    //
}
